#985BE9#985BE9

#985BE9 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.8% C 0.206 H 300.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#985BE9
RGBrgb(152, 91, 233)
HSLhsl(266, 76%, 64%)
HSVhsv(266, 61%, 91%)
CMYKcmyk(34.8%, 60.9%, 0%, 8.6%)
CIE-LABlab(51.88, 53.03, -62.90)
CIE-LCHlch(51.88, 82.27, 310.13°)
OKLaboklab(60.8% 0.1035 -0.1786)
OKLCHoklch(60.8% 0.206 300.1)
XYZxyz(31.3944, 20.0405, 79.2892)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BE9 #ACE95B
analogous
#5B65E9 #985BE9 #DF5BE9
triadic
#985BE9 #E9985B #5BE998
tetradic
#985BE9 #E95B65 #ACE95B #5BE9DF
square
#985BE9 #E95B65 #ACE95B #5BE9DF
split-complementary
#985BE9 #E9DF5B #65E95B
monochromatic
#5A18B2 #7625E2 #985BE9 #BA91F0 #DCC7F7

Accessibility & contrast

On white

4.19
#985BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#985BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BE9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BE9#FFFFFF#000000##000000
##985BE91.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#267BE6
Tritanopia (blue-blind)
#877A9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #985be9;
/* rgb */ color: rgb(152, 91, 233);
/* oklch */ color: oklch(60.8% 0.206 300.1);
Tailwind
colors: {
  custom: {
    50: '#bb8cf1',
    500: '#985be9',
    950: '#000000',
  },
}
SCSS
$custom: #985be9;
$custom-light: #bb8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#985be9",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 233
  },
  "hsl": {
    "h": 265.775,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60797,
    "c": 0.20642,
    "h": 300.1
  },
  "luminance": 0.20041
}

Semantic roles & 50–950 ramp

primary
#985BE9
secondary
#D3E9B7
accent
#D90D81
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #985BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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