#985AE9#985AE9

#985AE9 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.7% C 0.208 H 300.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#985AE9
RGBrgb(152, 90, 233)
HSLhsl(266, 76%, 63%)
HSVhsv(266, 61%, 91%)
CMYKcmyk(34.8%, 61.4%, 0%, 8.6%)
CIE-LABlab(51.69, 53.55, -63.21)
CIE-LCHlch(51.69, 82.84, 310.27°)
OKLaboklab(60.66% 0.1046 -0.1795)
OKLCHoklch(60.66% 0.208 300.2)
XYZxyz(31.3095, 19.8707, 79.2609)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AE9 #ABE95A
analogous
#5A63E9 #985AE9 #E05AE9
triadic
#985AE9 #E9985A #5AE998
tetradic
#985AE9 #E95A63 #ABE95A #5AE9E0
square
#985AE9 #E95A63 #ABE95A #5AE9E0
split-complementary
#985AE9 #E9E05A #63E95A
monochromatic
#5A18B1 #7624E2 #985AE9 #BA90F0 #DBC6F7

Accessibility & contrast

On white

4.22
#985AE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#985AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985AE9
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AE9#FFFFFF#000000##000000
##985AE91.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#247AE6
Tritanopia (blue-blind)
#877999
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985ae9;
/* rgb */ color: rgb(152, 90, 233);
/* oklch */ color: oklch(60.7% 0.208 300.2);
Tailwind
colors: {
  custom: {
    50: '#bb8cf1',
    500: '#985ae9',
    950: '#000000',
  },
}
SCSS
$custom: #985ae9;
$custom-light: #bb8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#985ae9",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 233
  },
  "hsl": {
    "h": 266.014,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60657,
    "c": 0.20778,
    "h": 300.2
  },
  "luminance": 0.19871
}

Semantic roles & 50–950 ramp

primary
#985AE9
secondary
#D3E9B6
accent
#D90D80
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #985AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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