#985DD2#985DD2

#985DD2 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.6% C 0.177 H 304.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#985DD2
RGBrgb(152, 93, 210)
HSLhsl(270, 57%, 59%)
HSVhsv(270, 56%, 82%)
CMYKcmyk(27.6%, 55.7%, 0%, 17.6%)
CIE-LABlab(50.87, 46.40, -51.50)
CIE-LCHlch(50.87, 69.32, 312.02°)
OKLaboklab(59.61% 0.1013 -0.1452)
OKLCHoklch(59.61% 0.177 304.9)
XYZxyz(28.4936, 19.1574, 63.1569)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DD2 #97D25D
analogous
#5D5DD2 #985DD2 #D25DD2
triadic
#985DD2 #D2985D #5DD298
tetradic
#985DD2 #D25D5D #97D25D #5DD2D2
square
#985DD2 #D25D5D #97D25D #5DD2D2
split-complementary
#985DD2 #D2D25D #5DD25D
monochromatic
#5B278D #7935BD #985DD2 #B68DDF #D5BDED

Accessibility & contrast

On white

4.35
#985DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#985DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DD2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DD2#FFFFFF#000000##000000
##985DD21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3177D6
Deuteranopia (green-blind)
#4779CF
Tritanopia (blue-blind)
#8E738F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #985dd2;
/* rgb */ color: rgb(152, 93, 210);
/* oklch */ color: oklch(59.6% 0.177 304.9);
Tailwind
colors: {
  custom: {
    50: '#b98de0',
    500: '#985dd2',
    950: '#000000',
  },
}
SCSS
$custom: #985dd2;
$custom-light: #b98de0;
$custom-dark: #000000;
JSON
{
  "hex": "#985dd2",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 210
  },
  "hsl": {
    "h": 270.256,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59606,
    "c": 0.17701,
    "h": 304.9
  },
  "luminance": 0.19157
}

Semantic roles & 50–950 ramp

primary
#985DD2
secondary
#C5DCAF
accent
#E04893
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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