#9860BC#9860BC

#9860BC is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.8% C 0.146 H 310.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9860BC
RGBrgb(152, 96, 188)
HSLhsl(277, 41%, 56%)
HSVhsv(277, 49%, 74%)
CMYKcmyk(19.1%, 48.9%, 0%, 26.3%)
CIE-LABlab(50.30, 39.65, -39.77)
CIE-LCHlch(50.30, 56.16, 314.91°)
OKLaboklab(58.8% 0.0955 -0.111)
OKLCHoklch(58.8% 0.146 310.7)
XYZxyz(26.2072, 18.6725, 49.7908)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9860BC #84BC60
analogous
#6A60BC #9860BC #BC60B2
triadic
#9860BC #BC9860 #60BC98
tetradic
#9860BC #BC6A60 #84BC60 #60B2BC
square
#9860BC #BC6A60 #84BC60 #60B2BC
split-complementary
#9860BC #B2BC60 #60BC6A
monochromatic
#583072 #79429D #9860BC #B48BCE #D0B6E0

Accessibility & contrast

On white

4.44
#9860BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9860BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9860BC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9860BC#FFFFFF#000000##000000
##9860BC1.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)
#4A75BF
Deuteranopia (green-blind)
#5A79BA
Tritanopia (blue-blind)
#946F85
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9860bc;
/* rgb */ color: rgb(152, 96, 188);
/* oklch */ color: oklch(58.8% 0.146 310.7);
Tailwind
colors: {
  custom: {
    50: '#b88fd0',
    500: '#9860bc',
    950: '#000000',
  },
}
SCSS
$custom: #9860bc;
$custom-light: #b88fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9860bc",
  "rgb": {
    "r": 152,
    "g": 96,
    "b": 188
  },
  "hsl": {
    "h": 276.522,
    "s": 40.708,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58796,
    "c": 0.14642,
    "h": 310.7
  },
  "luminance": 0.18672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9860BC

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

Preview Lab → · Contrast checker → · Palette generator →

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