#985EE9

A color in the Violet family

#985ee9 is a color in the Violet family: RGB(152, 94, 233), HSL(265°, 76%, 64%), CMYK(35%, 60%, 0%, 9%). Closest named color: mediumpurple. Contrast is 4.11:1 on white and 5.11:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#985ee9
RGBrgb(152 94 233)
RGB (legacy)rgb(152, 94, 233)
RGB %rgb(60% 37% 91%)
HSLhsl(265 76% 64%)
HSV / HSBhsv(265, 60%, 91%)
HWBhwb(265 37% 9%)
CMYKcmyk(35%, 60%, 0%, 9%)
CIELAB (D50)lab(51.78 45.36 -62.7)
LCHlch(51.78 77.39 305.89)
OKLaboklab(0.6122 0.1 -0.1758)
OKLCHoklch(0.6122 0.2023 299.63)
Decimal9985769

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 4.8
Closest web-safe color#9966ff
Hue265°
Saturation (HSL / HSV)76% / 60%
Lightness (HSL)64%
Brightness or Value (HSV)91%
Luminance (Rec.601 / Rec.709)50% / 46%
Relative luminance (WCAG)0.2056
Red / Green / Blue152 / 94 / 233

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.11:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.11: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 67.8 / -33.9 · As background with white / black text: Lc -73.3 / 36.3

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