#985EE6

A color in the Violet family

#985ee6 is a color in the Violet family: RGB(152, 94, 230), HSL(266°, 73%, 64%), CMYK(34%, 59%, 0%, 10%). Closest named color: mediumpurple. Contrast is 4.13:1 on white and 5.08:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#985ee6
RGBrgb(152 94 230)
RGB (legacy)rgb(152, 94, 230)
RGB %rgb(60% 37% 90%)
HSLhsl(266 73% 64%)
HSV / HSBhsv(266, 59%, 90%)
HWBhwb(266 37% 10%)
CMYKcmyk(34%, 59%, 0%, 10%)
CIELAB (D50)lab(51.62 44.78 -61.28)
LCHlch(51.62 75.89 306.16)
OKLaboklab(0.6102 0.1001 -0.1718)
OKLCHoklch(0.6102 0.1988 300.23)
Decimal9985766

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 4.5
Closest web-safe color#9966ff
Hue266°
Saturation (HSL / HSV)73% / 59%
Lightness (HSL)64%
Brightness or Value (HSV)90%
Luminance (Rec.601 / Rec.709)50% / 46%
Relative luminance (WCAG)0.2039
Red / Green / Blue152 / 94 / 230

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.13:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.08: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 68 / -33.7 · As background with white / black text: Lc -73.5 / 36.1

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: #985ee6;
  --color-brand-oklch: oklch(61.02% 0.1988 300.23);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(152 94 230 / 50%); }
/* Tailwind CSS */
<div class="bg-[#985ee6] text-[#985ee6] border-[#985ee6]">