#985CEA#985CEA

#985CEA is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.0% C 0.206 H 299.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#985CEA
RGBrgb(152, 92, 234)
HSLhsl(265, 77%, 64%)
HSVhsv(265, 61%, 92%)
CMYKcmyk(35%, 60.7%, 0%, 8.2%)
CIE-LABlab(52.14, 52.76, -63.04)
CIE-LCHlch(52.14, 82.20, 309.92°)
OKLaboklab(61.01% 0.1023 -0.179)
OKLCHoklch(61.01% 0.206 299.7)
XYZxyz(31.6237, 20.2699, 80.0724)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CEA #AEEA5C
analogous
#5C67EA #985CEA #DF5CEA
triadic
#985CEA #EA985C #5CEA98
tetradic
#985CEA #EA5C67 #AEEA5C #5CEADF
square
#985CEA #EA5C67 #AEEA5C #5CEADF
split-complementary
#985CEA #EADF5C #67EA5C
monochromatic
#5A17B4 #7626E3 #985CEA #BA92F1 #DDC8F8

Accessibility & contrast

On white

4.16
#985CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#985CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CEA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CEA#FFFFFF#000000##000000
##985CEA1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#277BE7
Tritanopia (blue-blind)
#867B9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #985cea;
/* rgb */ color: rgb(152, 92, 234);
/* oklch */ color: oklch(61.0% 0.206 299.7);
Tailwind
colors: {
  custom: {
    50: '#bb8df1',
    500: '#985cea',
    950: '#000000',
  },
}
SCSS
$custom: #985cea;
$custom-light: #bb8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#985cea",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 265.352,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61005,
    "c": 0.2062,
    "h": 299.7
  },
  "luminance": 0.2027
}

Semantic roles & 50–950 ramp

primary
#985CEA
secondary
#D5EAB8
accent
#D90C83
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #985CEA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#985CEA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva