#985EE8

A color in the Violet family

#985ee8 is a color in the Violet family: RGB(152, 94, 232), HSL(265°, 75%, 64%), CMYK(34%, 59%, 0%, 9%). Closest named color: mediumpurple. Contrast is 4.12:1 on white and 5.1:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#985ee8
RGBrgb(152 94 232)
RGB (legacy)rgb(152, 94, 232)
RGB %rgb(60% 37% 91%)
HSLhsl(265 75% 64%)
HSV / HSBhsv(265, 59%, 91%)
HWBhwb(265 37% 9%)
CMYKcmyk(34%, 59%, 0%, 9%)
CIELAB (D50)lab(51.73 45.17 -62.23)
LCHlch(51.73 76.89 305.97)
OKLaboklab(0.6116 0.1 -0.1745)
OKLCHoklch(0.6116 0.2011 299.83)
Decimal9985768

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.12:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.10: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.8 · As background with white / black text: Lc -73.3 / 36.2

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