#985BC8#985BC8

#985BC8 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.7% C 0.168 H 307.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#985BC8
RGBrgb(152, 91, 200)
HSLhsl(274, 50%, 57%)
HSVhsv(274, 55%, 78%)
CMYKcmyk(24%, 54.5%, 0%, 21.6%)
CIE-LABlab(49.89, 45.13, -47.34)
CIE-LCHlch(49.89, 65.40, 313.63°)
OKLaboklab(58.7% 0.1034 -0.133)
OKLCHoklch(58.7% 0.168 307.9)
XYZxyz(27.1132, 18.3280, 56.7417)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BC8 #8BC85B
analogous
#625BC8 #985BC8 #C85BC2
triadic
#985BC8 #C8985B #5BC898
tetradic
#985BC8 #C8625B #8BC85B #5BC2C8
square
#985BC8 #C8625B #8BC85B #5BC2C8
split-complementary
#985BC8 #C2C85B #5BC862
monochromatic
#592A7E #7A3AAC #985BC8 #B589D7 #D2B7E7

Accessibility & contrast

On white

4.50
#985BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#985BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BC8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BC8#FFFFFF#000000##000000
##985BC81.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3874CC
Deuteranopia (green-blind)
#4D77C5
Tritanopia (blue-blind)
#916F89
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985bc8;
/* rgb */ color: rgb(152, 91, 200);
/* oklch */ color: oklch(58.7% 0.168 307.9);
Tailwind
colors: {
  custom: {
    50: '#b98cd9',
    500: '#985bc8',
    950: '#000000',
  },
}
SCSS
$custom: #985bc8;
$custom-light: #b98cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#985bc8",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 200
  },
  "hsl": {
    "h": 273.578,
    "s": 49.772,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58701,
    "c": 0.16848,
    "h": 307.9
  },
  "luminance": 0.18328
}

Semantic roles & 50–950 ramp

primary
#985BC8
secondary
#BDD6A9
accent
#D94F8C
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C15
muted
#817D83

Preview Lab

Preview with #985BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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