#985CE4#985CE4

#985CE4 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.6% C 0.199 H 300.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#985CE4
RGBrgb(152, 92, 228)
HSLhsl(266, 72%, 63%)
HSVhsv(266, 60%, 89%)
CMYKcmyk(33.3%, 59.6%, 0%, 10.6%)
CIE-LABlab(51.76, 51.28, -60.28)
CIE-LCHlch(51.76, 79.14, 310.39°)
OKLaboklab(60.61% 0.1025 -0.1709)
OKLCHoklch(60.61% 0.199 300.9)
XYZxyz(30.7763, 19.9310, 75.6094)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CE4 #A8E45C
analogous
#5C64E4 #985CE4 #DC5CE4
triadic
#985CE4 #E4985C #5CE498
tetradic
#985CE4 #E45C64 #A8E45C #5CE4DC
square
#985CE4 #E45C64 #A8E45C #5CE4DC
split-complementary
#985CE4 #E4DC5C #64E45C
monochromatic
#5A1CAA #7727DB #985CE4 #B991ED #DAC5F5

Accessibility & contrast

On white

4.21
#985CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#985CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CE4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CE4#FFFFFF#000000##000000
##985CE41.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#057BE8
Deuteranopia (green-blind)
#317BE1
Tritanopia (blue-blind)
#887997
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985ce4;
/* rgb */ color: rgb(152, 92, 228);
/* oklch */ color: oklch(60.6% 0.199 300.9);
Tailwind
colors: {
  custom: {
    50: '#bb8ded',
    500: '#985ce4',
    950: '#000000',
  },
}
SCSS
$custom: #985ce4;
$custom-light: #bb8ded;
$custom-dark: #000000;
JSON
{
  "hex": "#985ce4",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 266.471,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60605,
    "c": 0.19932,
    "h": 300.9
  },
  "luminance": 0.19931
}

Semantic roles & 50–950 ramp

primary
#985CE4
secondary
#D1E7B5
accent
#D4127E
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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