#985DD9#985DD9

#985DD9 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.0% C 0.185 H 303.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#985DD9
RGBrgb(152, 93, 217)
HSLhsl(269, 62%, 61%)
HSVhsv(269, 57%, 85%)
CMYKcmyk(30%, 57.1%, 0%, 14.9%)
CIE-LABlab(51.28, 48.08, -54.82)
CIE-LCHlch(51.28, 72.92, 311.25°)
OKLaboklab(60.04% 0.1014 -0.1549)
OKLCHoklch(60.04% 0.185 303.2)
XYZxyz(29.3848, 19.5139, 67.8507)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DD9 #9ED95D
analogous
#5D60D9 #985DD9 #D65DD9
triadic
#985DD9 #D9985D #5DD998
tetradic
#985DD9 #D95D60 #9ED95D #5DD9D6
square
#985DD9 #D95D60 #9ED95D #5DD9D6
split-complementary
#985DD9 #D9D65D #60D95D
monochromatic
#5B2498 #792FCA #985DD9 #B88FE5 #D7C0F0

Accessibility & contrast

On white

4.28
#985DD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#985DD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DD9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DD9#FFFFFF#000000##000000
##985DD91.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2879DD
Deuteranopia (green-blind)
#407AD6
Tritanopia (blue-blind)
#8C7692
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985dd9;
/* rgb */ color: rgb(152, 93, 217);
/* oklch */ color: oklch(60.0% 0.185 303.2);
Tailwind
colors: {
  custom: {
    50: '#ba8de5',
    500: '#985dd9',
    950: '#000000',
  },
}
SCSS
$custom: #985dd9;
$custom-light: #ba8de5;
$custom-dark: #000000;
JSON
{
  "hex": "#985dd9",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 217
  },
  "hsl": {
    "h": 268.548,
    "s": 62,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60041,
    "c": 0.18516,
    "h": 303.2
  },
  "luminance": 0.19514
}

Semantic roles & 50–950 ramp

primary
#985DD9
secondary
#CAE0B1
accent
#CA1C77
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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