#9155EA

A color in the Violet family

#9155ea is a color in the Violet family: RGB(145, 85, 234), HSL(264°, 78%, 63%), CMYK(38%, 64%, 0%, 8%). Closest named color: mediumslateblue. Contrast is 4.48:1 on white and 4.69:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#9155ea
RGBrgb(145 85 234)
RGB (legacy)rgb(145, 85, 234)
RGB %rgb(57% 33% 92%)
HSLhsl(264 78% 63%)
HSV / HSBhsv(264, 64%, 92%)
HWBhwb(264 33% 8%)
CMYKcmyk(38%, 64%, 0%, 8%)
CIELAB (D50)lab(49.25 48.32 -67.38)
LCHlch(49.25 82.91 305.65)
OKLaboklab(0.5931 0.1009 -0.1893)
OKLCHoklch(0.5931 0.2145 298.06)
Decimal9524714

Properties

Color ToneViolet
Closest named colormediumslateblue ΔE 5
Closest web-safe color#9966ff
Hue264°
Saturation (HSL / HSV)78% / 64%
Lightness (HSL)63%
Brightness or Value (HSV)92%
Luminance (Rec.601 / Rec.709)47% / 43%
Relative luminance (WCAG)0.1846
Red / Green / Blue145 / 85 / 234

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.48:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.69:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 70.5 / -31.2 · As background with white / black text: Lc -76 / 33.6

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #9155ea;
  --color-brand-oklch: oklch(59.31% 0.2145 298.06);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(145 85 234 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9155ea] text-[#9155ea] border-[#9155ea]">