#985DE4#985DE4

#985DE4 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.7% C 0.198 H 300.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#985DE4
RGBrgb(152, 93, 228)
HSLhsl(266, 71%, 63%)
HSVhsv(266, 59%, 89%)
CMYKcmyk(33.3%, 59.2%, 0%, 10.6%)
CIE-LABlab(51.96, 50.75, -59.96)
CIE-LCHlch(51.96, 78.56, 310.24°)
OKLaboklab(60.75% 0.1013 -0.17)
OKLCHoklch(60.75% 0.198 300.8)
XYZxyz(30.8635, 20.1054, 75.6385)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DE4 #A9E45D
analogous
#5D65E4 #985DE4 #DB5DE4
triadic
#985DE4 #E4985D #5DE498
tetradic
#985DE4 #E45D65 #A9E45D #5DE4DB
square
#985DE4 #E45D65 #A9E45D #5DE4DB
split-complementary
#985DE4 #E4DB5D #65E45D
monochromatic
#5A1CAA #7729DB #985DE4 #B991ED #DBC6F5

Accessibility & contrast

On white

4.18
#985DE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#985DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DE4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DE4#FFFFFF#000000##000000
##985DE41.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7BE8
Deuteranopia (green-blind)
#337BE1
Tritanopia (blue-blind)
#887998
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #985de4;
/* rgb */ color: rgb(152, 93, 228);
/* oklch */ color: oklch(60.7% 0.198 300.8);
Tailwind
colors: {
  custom: {
    50: '#bb8ded',
    500: '#985de4',
    950: '#000000',
  },
}
SCSS
$custom: #985de4;
$custom-light: #bb8ded;
$custom-dark: #000000;
JSON
{
  "hex": "#985de4",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 228
  },
  "hsl": {
    "h": 266.222,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60749,
    "c": 0.19791,
    "h": 300.8
  },
  "luminance": 0.20106
}

Semantic roles & 50–950 ramp

primary
#985DE4
secondary
#D1E7B6
accent
#D3127F
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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