#985DDD#985DDD

#985DDD is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.3% C 0.190 H 302.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#985DDD
RGBrgb(152, 93, 221)
HSLhsl(268, 65%, 62%)
HSVhsv(268, 58%, 87%)
CMYKcmyk(31.2%, 57.9%, 0%, 13.3%)
CIE-LABlab(51.52, 49.04, -56.70)
CIE-LCHlch(51.52, 74.97, 310.86°)
OKLaboklab(60.3% 0.1014 -0.1604)
OKLCHoklch(60.3% 0.19 302.3)
XYZxyz(29.9114, 19.7245, 70.6240)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DDD #A2DD5D
analogous
#5D62DD #985DDD #D85DDD
triadic
#985DDD #DD985D #5DDD98
tetradic
#985DDD #DD5D62 #A2DD5D #5DDDD8
square
#985DDD #DD5D62 #A2DD5D #5DDDD8
split-complementary
#985DDD #DDD85D #62DD5D
monochromatic
#5B219E #782CD1 #985DDD #B890E8 #D8C2F2

Accessibility & contrast

On white

4.25
#985DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#985DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DDD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DDD#FFFFFF#000000##000000
##985DDD1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#217AE1
Deuteranopia (green-blind)
#3C7ADA
Tritanopia (blue-blind)
#8B7794
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985ddd;
/* rgb */ color: rgb(152, 93, 221);
/* oklch */ color: oklch(60.3% 0.190 302.3);
Tailwind
colors: {
  custom: {
    50: '#ba8de8',
    500: '#985ddd',
    950: '#000000',
  },
}
SCSS
$custom: #985ddd;
$custom-light: #ba8de8;
$custom-dark: #000000;
JSON
{
  "hex": "#985ddd",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 221
  },
  "hsl": {
    "h": 267.656,
    "s": 65.306,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60295,
    "c": 0.18981,
    "h": 302.3
  },
  "luminance": 0.19725
}

Semantic roles & 50–950 ramp

primary
#985DDD
secondary
#CDE3B3
accent
#CD187A
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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