#985FEE#985FEE

#985FEE is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.7% C 0.207 H 298.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#985FEE
RGBrgb(152, 95, 238)
HSLhsl(264, 81%, 65%)
HSVhsv(264, 60%, 93%)
CMYKcmyk(36.1%, 60.1%, 0%, 6.7%)
CIE-LABlab(52.98, 52.18, -63.92)
CIE-LCHlch(52.98, 82.52, 309.23°)
OKLaboklab(61.7% 0.0987 -0.1816)
OKLCHoklch(61.7% 0.207 298.5)
XYZxyz(32.4699, 21.0325, 83.2213)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FEE #B5EE5F
analogous
#5F6DEE #985FEE #DF5FEE
triadic
#985FEE #EE985F #5FEE98
tetradic
#985FEE #EE5F6D #B5EE5F #5FEEDF
square
#985FEE #EE5F6D #B5EE5F #5FEEDF
split-complementary
#985FEE #EEDF5F #6DEE5F
monochromatic
#5814BE #7428E8 #985FEE #BC96F4 #DFCEFA

Accessibility & contrast

On white

4.03
#985FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#985FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FEE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FEE#FFFFFF#000000##000000
##985FEE1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF3
Deuteranopia (green-blind)
#257DEB
Tritanopia (blue-blind)
#847E9E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #985fee;
/* rgb */ color: rgb(152, 95, 238);
/* oklch */ color: oklch(61.7% 0.207 298.5);
Tailwind
colors: {
  custom: {
    50: '#bb8ff4',
    500: '#985fee',
    950: '#000000',
  },
}
SCSS
$custom: #985fee;
$custom-light: #bb8ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#985fee",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 263.916,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61701,
    "c": 0.20671,
    "h": 298.5
  },
  "luminance": 0.21033
}

Semantic roles & 50–950 ramp

primary
#985FEE
secondary
#D9ECBC
accent
#DD0888
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120D17
muted
#817D85

Preview Lab

Preview with #985FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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