#985DD8#985DD8

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

Color values

HEX#985DD8
RGBrgb(152, 93, 216)
HSLhsl(269, 61%, 61%)
HSVhsv(269, 57%, 85%)
CMYKcmyk(29.6%, 56.9%, 0%, 15.3%)
CIE-LABlab(51.22, 47.84, -54.35)
CIE-LCHlch(51.22, 72.40, 311.35°)
OKLaboklab(59.98% 0.1014 -0.1535)
OKLCHoklch(59.98% 0.184 303.4)
XYZxyz(29.2551, 19.4620, 67.1677)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DD8 #9DD85D
analogous
#5D60D8 #985DD8 #D55DD8
triadic
#985DD8 #D8985D #5DD898
tetradic
#985DD8 #D85D60 #9DD85D #5DD8D5
square
#985DD8 #D85D60 #9DD85D #5DD8D5
split-complementary
#985DD8 #D8D55D #60D85D
monochromatic
#5B2496 #7930C8 #985DD8 #B78EE4 #D7C0F0

Accessibility & contrast

On white

4.29
#985DD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#985DD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DD8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DD8#FFFFFF#000000##000000
##985DD81.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2979DC
Deuteranopia (green-blind)
#417AD5
Tritanopia (blue-blind)
#8C7592
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985dd8;
/* rgb */ color: rgb(152, 93, 216);
/* oklch */ color: oklch(60.0% 0.184 303.4);
Tailwind
colors: {
  custom: {
    50: '#ba8de5',
    500: '#985dd8',
    950: '#000000',
  },
}
SCSS
$custom: #985dd8;
$custom-light: #ba8de5;
$custom-dark: #000000;
JSON
{
  "hex": "#985dd8",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 216
  },
  "hsl": {
    "h": 268.78,
    "s": 61.194,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59978,
    "c": 0.18399,
    "h": 303.4
  },
  "luminance": 0.19462
}

Semantic roles & 50–950 ramp

primary
#985DD8
secondary
#C9E0B1
accent
#C91D76
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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