#985CC8#985CC8

#985CC8 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.9% C 0.167 H 307.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#985CC8
RGBrgb(152, 92, 200)
HSLhsl(273, 50%, 57%)
HSVhsv(273, 54%, 78%)
CMYKcmyk(24%, 54%, 0%, 21.6%)
CIE-LABlab(50.10, 44.59, -47.01)
CIE-LCHlch(50.10, 64.79, 313.49°)
OKLaboklab(58.85% 0.1021 -0.132)
OKLCHoklch(58.85% 0.167 307.7)
XYZxyz(27.1993, 18.5002, 56.7704)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CC8 #8CC85C
analogous
#625CC8 #985CC8 #C85CC2
triadic
#985CC8 #C8985C #5CC898
tetradic
#985CC8 #C8625C #8CC85C #5CC2C8
square
#985CC8 #C8625C #8CC85C #5CC2C8
split-complementary
#985CC8 #C2C85C #5CC862
monochromatic
#592B7F #7A3AAD #985CC8 #B58AD7 #D2B8E7

Accessibility & contrast

On white

4.47
#985CC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#985CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CC8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CC8#FFFFFF#000000##000000
##985CC81.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A75CC
Deuteranopia (green-blind)
#4E78C5
Tritanopia (blue-blind)
#916F89
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985cc8;
/* rgb */ color: rgb(152, 92, 200);
/* oklch */ color: oklch(58.9% 0.167 307.7);
Tailwind
colors: {
  custom: {
    50: '#b98cd9',
    500: '#985cc8',
    950: '#000000',
  },
}
SCSS
$custom: #985cc8;
$custom-light: #b98cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#985cc8",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 273.333,
    "s": 49.541,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58853,
    "c": 0.16692,
    "h": 307.7
  },
  "luminance": 0.185
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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