#9860C8#9860C8

#9860C8 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.5% C 0.161 H 307.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9860C8
RGBrgb(152, 96, 200)
HSLhsl(272, 49%, 58%)
HSVhsv(272, 52%, 78%)
CMYKcmyk(24%, 52%, 0%, 21.6%)
CIE-LABlab(50.93, 42.41, -45.68)
CIE-LCHlch(50.93, 62.33, 312.88°)
OKLaboklab(59.47% 0.0968 -0.1282)
OKLCHoklch(59.47% 0.161 307.1)
XYZxyz(27.5550, 19.2116, 56.8890)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9860C8 #90C860
analogous
#6460C8 #9860C8 #C860C4
triadic
#9860C8 #C89860 #60C898
tetradic
#9860C8 #C86460 #90C860 #60C4C8
square
#9860C8 #C86460 #90C860 #60C4C8
split-complementary
#9860C8 #C4C860 #60C864
monochromatic
#5A2D81 #7A3CAE #9860C8 #B58DD8 #D3BBE7

Accessibility & contrast

On white

4.34
#9860C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#9860C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9860C8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9860C8#FFFFFF#000000##000000
##9860C81.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4177CC
Deuteranopia (green-blind)
#527AC5
Tritanopia (blue-blind)
#91728B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9860c8;
/* rgb */ color: rgb(152, 96, 200);
/* oklch */ color: oklch(59.5% 0.161 307.1);
Tailwind
colors: {
  custom: {
    50: '#b98fd9',
    500: '#9860c8',
    950: '#000000',
  },
}
SCSS
$custom: #9860c8;
$custom-light: #b98fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9860c8",
  "rgb": {
    "r": 152,
    "g": 96,
    "b": 200
  },
  "hsl": {
    "h": 272.308,
    "s": 48.598,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59471,
    "c": 0.16059,
    "h": 307.1
  },
  "luminance": 0.19211
}

Semantic roles & 50–950 ramp

primary
#9860C8
secondary
#C0D7AD
accent
#D8508F
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C15
muted
#817D83

Preview Lab

Preview with #9860C8

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

Preview Lab → · Contrast checker → · Palette generator →

#9860C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva