#985DD4#985DD4

#985DD4 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.7% C 0.179 H 304.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#985DD4
RGBrgb(152, 93, 212)
HSLhsl(270, 58%, 60%)
HSVhsv(270, 56%, 83%)
CMYKcmyk(28.3%, 56.1%, 0%, 16.9%)
CIE-LABlab(50.99, 46.88, -52.45)
CIE-LCHlch(50.99, 70.35, 311.79°)
OKLaboklab(59.73% 0.1013 -0.148)
OKLCHoklch(59.73% 0.179 304.4)
XYZxyz(28.7443, 19.2577, 64.4774)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DD4 #99D45D
analogous
#5D5DD4 #985DD4 #D45DD4
triadic
#985DD4 #D4985D #5DD498
tetradic
#985DD4 #D45D5D #99D45D #5DD4D4
square
#985DD4 #D45D5D #99D45D #5DD4D4
split-complementary
#985DD4 #D4D45D #5DD45D
monochromatic
#5B2690 #7933C1 #985DD4 #B78DE1 #D5BEEE

Accessibility & contrast

On white

4.33
#985DD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#985DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DD4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DD4#FFFFFF#000000##000000
##985DD41.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F78D8
Deuteranopia (green-blind)
#4579D1
Tritanopia (blue-blind)
#8D7490
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #985dd4;
/* rgb */ color: rgb(152, 93, 212);
/* oklch */ color: oklch(59.7% 0.179 304.4);
Tailwind
colors: {
  custom: {
    50: '#ba8de2',
    500: '#985dd4',
    950: '#000000',
  },
}
SCSS
$custom: #985dd4;
$custom-light: #ba8de2;
$custom-dark: #000000;
JSON
{
  "hex": "#985dd4",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 212
  },
  "hsl": {
    "h": 269.748,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59729,
    "c": 0.17934,
    "h": 304.4
  },
  "luminance": 0.19258
}

Semantic roles & 50–950 ramp

primary
#985DD4
secondary
#C7DDAF
accent
#E14795
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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