#985EE8#985EE8

#985EE8 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.2% C 0.201 H 299.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#985EE8
RGBrgb(152, 94, 232)
HSLhsl(265, 75%, 64%)
HSVhsv(265, 59%, 91%)
CMYKcmyk(34.5%, 59.5%, 0%, 9%)
CIE-LABlab(52.41, 51.21, -61.49)
CIE-LCHlch(52.41, 80.02, 309.79°)
OKLaboklab(61.16% 0.1 -0.1745)
OKLCHoklch(61.16% 0.201 299.8)
XYZxyz(31.5135, 20.5067, 78.6262)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EE8 #AEE85E
analogous
#5E69E8 #985EE8 #DD5EE8
triadic
#985EE8 #E8985E #5EE898
tetradic
#985EE8 #E85E69 #AEE85E #5EE8DD
square
#985EE8 #E85E69 #AEE85E #5EE8DD
split-complementary
#985EE8 #E8DD5E #69E85E
monochromatic
#5A19B2 #7628E0 #985EE8 #BA94F0 #DDC9F7

Accessibility & contrast

On white

4.12
#985EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#985EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EE8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EE8#FFFFFF#000000##000000
##985EE81.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#017DEC
Deuteranopia (green-blind)
#2E7CE5
Tritanopia (blue-blind)
#877B9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #985ee8;
/* rgb */ color: rgb(152, 94, 232);
/* oklch */ color: oklch(61.2% 0.201 299.8);
Tailwind
colors: {
  custom: {
    50: '#bb8ef0',
    500: '#985ee8',
    950: '#000000',
  },
}
SCSS
$custom: #985ee8;
$custom-light: #bb8ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#985ee8",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 265.217,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61157,
    "c": 0.20114,
    "h": 299.8
  },
  "luminance": 0.20507
}

Semantic roles & 50–950 ramp

primary
#985EE8
secondary
#D5E9B9
accent
#D70E83
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #985EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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