#985CEE#985CEE

#985CEE is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.3% C 0.211 H 299.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#985CEE
RGBrgb(152, 92, 238)
HSLhsl(265, 81%, 65%)
HSVhsv(265, 61%, 93%)
CMYKcmyk(36.1%, 61.3%, 0%, 6.7%)
CIE-LABlab(52.40, 53.75, -64.86)
CIE-LCHlch(52.40, 84.24, 309.64°)
OKLaboklab(61.28% 0.1021 -0.1844)
OKLCHoklch(61.28% 0.211 299)
XYZxyz(32.2048, 20.5024, 83.1330)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CEE #B2EE5C
analogous
#5C69EE #985CEE #E15CEE
triadic
#985CEE #EE985C #5CEE98
tetradic
#985CEE #EE5C69 #B2EE5C #5CEEE1
square
#985CEE #EE5C69 #B2EE5C #5CEEE1
split-complementary
#985CEE #EEE15C #69EE5C
monochromatic
#5914BC #7525E8 #985CEE #BB93F4 #DECBFA

Accessibility & contrast

On white

4.12
#985CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#985CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CEE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CEE#FFFFFF#000000##000000
##985CEE1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF3
Deuteranopia (green-blind)
#1D7CEB
Tritanopia (blue-blind)
#857C9D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #985cee;
/* rgb */ color: rgb(152, 92, 238);
/* oklch */ color: oklch(61.3% 0.211 299.0);
Tailwind
colors: {
  custom: {
    50: '#bc8df4',
    500: '#985cee',
    950: '#000000',
  },
}
SCSS
$custom: #985cee;
$custom-light: #bc8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#985cee",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 264.658,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61276,
    "c": 0.21077,
    "h": 299
  },
  "luminance": 0.20503
}

Semantic roles & 50–950 ramp

primary
#985CEE
secondary
#D7ECBA
accent
#DD0886
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #985CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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