#985CE9#985CE9

#985CE9 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.9% C 0.205 H 299.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#985CE9
RGBrgb(152, 92, 233)
HSLhsl(266, 76%, 64%)
HSVhsv(266, 61%, 91%)
CMYKcmyk(34.8%, 60.5%, 0%, 8.6%)
CIE-LABlab(52.08, 52.51, -62.58)
CIE-LCHlch(52.08, 81.69, 310.00°)
OKLaboklab(60.94% 0.1023 -0.1777)
OKLCHoklch(60.94% 0.205 299.9)
XYZxyz(31.4804, 20.2126, 79.3179)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CE9 #ADE95C
analogous
#5C66E9 #985CE9 #DE5CE9
triadic
#985CE9 #E9985C #5CE998
tetradic
#985CE9 #E95C66 #ADE95C #5CE9DE
square
#985CE9 #E95C66 #ADE95C #5CE9DE
split-complementary
#985CE9 #E9DE5C #66E95C
monochromatic
#5A18B3 #7626E2 #985CE9 #BA92F0 #DCC8F8

Accessibility & contrast

On white

4.16
#985CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#985CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CE9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CE9#FFFFFF#000000##000000
##985CE91.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#287BE6
Tritanopia (blue-blind)
#867A9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #985ce9;
/* rgb */ color: rgb(152, 92, 233);
/* oklch */ color: oklch(60.9% 0.205 299.9);
Tailwind
colors: {
  custom: {
    50: '#bb8df1',
    500: '#985ce9',
    950: '#000000',
  },
}
SCSS
$custom: #985ce9;
$custom-light: #bb8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#985ce9",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 265.532,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60938,
    "c": 0.20505,
    "h": 299.9
  },
  "luminance": 0.20213
}

Semantic roles & 50–950 ramp

primary
#985CE9
secondary
#D4E9B8
accent
#D80D82
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #985CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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