#985FE9#985FE9

#985FE9 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.4% C 0.201 H 299.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#985FE9
RGBrgb(152, 95, 233)
HSLhsl(265, 76%, 64%)
HSVhsv(265, 59%, 91%)
CMYKcmyk(34.8%, 59.2%, 0%, 8.6%)
CIE-LABlab(52.67, 50.93, -61.63)
CIE-LCHlch(52.67, 79.95, 309.57°)
OKLaboklab(61.37% 0.0988 -0.1749)
OKLCHoklch(61.37% 0.201 299.5)
XYZxyz(31.7455, 20.7427, 79.4062)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FE9 #B0E95F
analogous
#5F6BE9 #985FE9 #DD5FE9
triadic
#985FE9 #E9985F #5FE998
tetradic
#985FE9 #E95F6B #B0E95F #5FE9DD
square
#985FE9 #E95F6B #B0E95F #5FE9DD
split-complementary
#985FE9 #E9DD5F #6BE95F
monochromatic
#5919B5 #7529E2 #985FE9 #BB95F0 #DDCBF8

Accessibility & contrast

On white

4.08
#985FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#985FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FE9
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FE9#FFFFFF#000000##000000
##985FE91.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#047DED
Deuteranopia (green-blind)
#2F7DE6
Tritanopia (blue-blind)
#867C9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #985fe9;
/* rgb */ color: rgb(152, 95, 233);
/* oklch */ color: oklch(61.4% 0.201 299.5);
Tailwind
colors: {
  custom: {
    50: '#bb8ff1',
    500: '#985fe9',
    950: '#000000',
  },
}
SCSS
$custom: #985fe9;
$custom-light: #bb8ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#985fe9",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 233
  },
  "hsl": {
    "h": 264.783,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61368,
    "c": 0.20091,
    "h": 299.5
  },
  "luminance": 0.20743
}

Semantic roles & 50–950 ramp

primary
#985FE9
secondary
#D6EABA
accent
#D80D84
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #985FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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