#985DEA#985DEA

#985DEA is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.1% C 0.205 H 299.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#985DEA
RGBrgb(152, 93, 234)
HSLhsl(265, 77%, 64%)
HSVhsv(265, 60%, 92%)
CMYKcmyk(35%, 60.3%, 0%, 8.2%)
CIE-LABlab(52.34, 52.23, -62.73)
CIE-LCHlch(52.34, 81.63, 309.78°)
OKLaboklab(61.15% 0.1011 -0.1781)
OKLCHoklch(61.15% 0.205 299.6)
XYZxyz(31.7109, 20.4443, 80.1014)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DEA #AFEA5D
analogous
#5D69EA #985DEA #DE5DEA
triadic
#985DEA #EA985D #5DEA98
tetradic
#985DEA #EA5D69 #AFEA5D #5DEADE
square
#985DEA #EA5D69 #AFEA5D #5DEADE
split-complementary
#985DEA #EADE5D #69EA5D
monochromatic
#5917B5 #7627E3 #985DEA #BA93F1 #DDC9F8

Accessibility & contrast

On white

4.13
#985DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#985DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DEA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DEA#FFFFFF#000000##000000
##985DEA1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#297CE7
Tritanopia (blue-blind)
#867B9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #985dea;
/* rgb */ color: rgb(152, 93, 234);
/* oklch */ color: oklch(61.1% 0.205 299.6);
Tailwind
colors: {
  custom: {
    50: '#bb8df1',
    500: '#985dea',
    950: '#000000',
  },
}
SCSS
$custom: #985dea;
$custom-light: #bb8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#985dea",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 234
  },
  "hsl": {
    "h": 265.106,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61147,
    "c": 0.20484,
    "h": 299.6
  },
  "luminance": 0.20445
}

Semantic roles & 50–950 ramp

primary
#985DEA
secondary
#D5EAB9
accent
#D90C83
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #985DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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