#9860BD#9860BD

#9860BD is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.9% C 0.148 H 310.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9860BD
RGBrgb(152, 96, 189)
HSLhsl(276, 41%, 56%)
HSVhsv(276, 49%, 74%)
CMYKcmyk(19.6%, 49.2%, 0%, 25.9%)
CIE-LABlab(50.35, 39.88, -40.27)
CIE-LCHlch(50.35, 56.67, 314.72°)
OKLaboklab(58.85% 0.0957 -0.1124)
OKLCHoklch(58.85% 0.148 310.4)
XYZxyz(26.3154, 18.7157, 50.3605)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9860BD #85BD60
analogous
#6960BD #9860BD #BD60B3
triadic
#9860BD #BD9860 #60BD98
tetradic
#9860BD #BD6960 #85BD60 #60B3BD
square
#9860BD #BD6960 #85BD60 #60B3BD
split-complementary
#9860BD #B3BD60 #60BD69
monochromatic
#583073 #79429E #9860BD #B48BCF #D0B6E1

Accessibility & contrast

On white

4.43
#9860BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#9860BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9860BD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9860BD#FFFFFF#000000##000000
##9860BD1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4975C0
Deuteranopia (green-blind)
#5979BB
Tritanopia (blue-blind)
#946F86
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9860bd;
/* rgb */ color: rgb(152, 96, 189);
/* oklch */ color: oklch(58.9% 0.148 310.4);
Tailwind
colors: {
  custom: {
    50: '#b88fd1',
    500: '#9860bd',
    950: '#000000',
  },
}
SCSS
$custom: #9860bd;
$custom-light: #b88fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9860bd",
  "rgb": {
    "r": 152,
    "g": 96,
    "b": 189
  },
  "hsl": {
    "h": 276.129,
    "s": 41.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58851,
    "c": 0.14759,
    "h": 310.4
  },
  "luminance": 0.18715
}

Semantic roles & 50–950 ramp

primary
#9860BD
secondary
#B8D0A9
accent
#D15787
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9860BD

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

Preview Lab → · Contrast checker → · Palette generator →

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