#985FC0#985FC0

#985FC0 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.9% C 0.153 H 309.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#985FC0
RGBrgb(152, 95, 192)
HSLhsl(275, 43%, 56%)
HSVhsv(275, 51%, 75%)
CMYKcmyk(20.8%, 50.5%, 0%, 24.7%)
CIE-LABlab(50.29, 41.11, -42.09)
CIE-LCHlch(50.29, 58.84, 314.32°)
OKLaboklab(58.86% 0.0974 -0.1177)
OKLCHoklch(58.86% 0.153 309.6)
XYZxyz(26.5537, 18.6660, 52.0630)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FC0 #87C05F
analogous
#685FC0 #985FC0 #C05FB8
triadic
#985FC0 #C0985F #5FC098
tetradic
#985FC0 #C0685F #87C05F #5FB8C0
square
#985FC0 #C0685F #87C05F #5FB8C0
split-complementary
#985FC0 #B8C05F #5FC068
monochromatic
#592F76 #7A40A2 #985FC0 #B48BD1 #D1B7E3

Accessibility & contrast

On white

4.44
#985FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#985FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FC0
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FC0#FFFFFF#000000##000000
##985FC01.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4575C3
Deuteranopia (green-blind)
#5679BE
Tritanopia (blue-blind)
#936F87
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985fc0;
/* rgb */ color: rgb(152, 95, 192);
/* oklch */ color: oklch(58.9% 0.153 309.6);
Tailwind
colors: {
  custom: {
    50: '#b88ed3',
    500: '#985fc0',
    950: '#000000',
  },
}
SCSS
$custom: #985fc0;
$custom-light: #b88ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#985fc0",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 275.258,
    "s": 43.498,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58858,
    "c": 0.15278,
    "h": 309.6
  },
  "luminance": 0.18666
}

Semantic roles & 50–950 ramp

primary
#985FC0
secondary
#BAD1A9
accent
#D35589
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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