#985EEA

A color in the Violet family

#985eea is a color in the Violet family: RGB(152, 94, 234), HSL(265°, 77%, 64%), CMYK(35%, 60%, 0%, 8%). Closest named color: mediumpurple. Contrast is 4.1:1 on white and 5.12:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#985eea
RGBrgb(152 94 234)
RGB (legacy)rgb(152, 94, 234)
RGB %rgb(60% 37% 92%)
HSLhsl(265 77% 64%)
HSV / HSBhsv(265, 60%, 92%)
HWBhwb(265 37% 8%)
CMYKcmyk(35%, 60%, 0%, 8%)
CIELAB (D50)lab(51.83 45.56 -63.17)
LCHlch(51.83 77.89 305.8)
OKLaboklab(0.6129 0.1 -0.1772)
OKLCHoklch(0.6129 0.2035 299.43)
Decimal9985770

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.10:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.12: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.7 / -34 · As background with white / black text: Lc -73.2 / 36.4

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