#985FEF#985FEF

#985FEF is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.8% C 0.208 H 298.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#985FEF
RGBrgb(152, 95, 239)
HSLhsl(264, 82%, 65%)
HSVhsv(264, 60%, 94%)
CMYKcmyk(36.4%, 60.3%, 0%, 6.3%)
CIE-LABlab(53.05, 52.43, -64.38)
CIE-LCHlch(53.05, 83.03, 309.16°)
OKLaboklab(61.77% 0.0986 -0.183)
OKLCHoklch(61.77% 0.208 298.3)
XYZxyz(32.6172, 21.0914, 83.9972)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FEF #B6EF5F
analogous
#5F6EEF #985FEF #E05FEF
triadic
#985FEF #EF985F #5FEF98
tetradic
#985FEF #EF5F6E #B6EF5F #5FEFE0
square
#985FEF #EF5F6E #B6EF5F #5FEFE0
split-complementary
#985FEF #EFE05F #6EEF5F
monochromatic
#5813C0 #7427E9 #985FEF #BC97F5 #E0CEFA

Accessibility & contrast

On white

4.02
#985FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#985FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FEF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FEF#FFFFFF#000000##000000
##985FEF1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#237DEC
Tritanopia (blue-blind)
#847E9E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #985fef;
/* rgb */ color: rgb(152, 95, 239);
/* oklch */ color: oklch(61.8% 0.208 298.3);
Tailwind
colors: {
  custom: {
    50: '#bb8ff5',
    500: '#985fef',
    950: '#000000',
  },
}
SCSS
$custom: #985fef;
$custom-light: #bb8ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#985fef",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 263.75,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61769,
    "c": 0.20786,
    "h": 298.3
  },
  "luminance": 0.21092
}

Semantic roles & 50–950 ramp

primary
#985FEF
secondary
#DAEDBD
accent
#DE0789
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120D17
muted
#817D85

Preview Lab

Preview with #985FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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