#9860BF#9860BF

#9860BF is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.0% C 0.150 H 309.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9860BF
RGBrgb(152, 96, 191)
HSLhsl(275, 43%, 56%)
HSVhsv(275, 50%, 75%)
CMYKcmyk(20.4%, 49.7%, 0%, 25.1%)
CIE-LABlab(50.46, 40.33, -41.26)
CIE-LCHlch(50.46, 57.70, 314.35°)
OKLaboklab(58.96% 0.0959 -0.1153)
OKLCHoklch(58.96% 0.15 309.8)
XYZxyz(26.5340, 18.8032, 51.5117)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9860BF #87BF60
analogous
#6960BF #9860BF #BF60B7
triadic
#9860BF #BF9860 #60BF98
tetradic
#9860BF #BF6960 #87BF60 #60B7BF
square
#9860BF #BF6960 #87BF60 #60B7BF
split-complementary
#9860BF #B7BF60 #60BF69
monochromatic
#592F75 #7A41A1 #9860BF #B48CD1 #D1B7E2

Accessibility & contrast

On white

4.41
#9860BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#9860BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9860BF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9860BF#FFFFFF#000000##000000
##9860BF1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4876C2
Deuteranopia (green-blind)
#5879BD
Tritanopia (blue-blind)
#937087
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9860bf;
/* rgb */ color: rgb(152, 96, 191);
/* oklch */ color: oklch(59.0% 0.150 309.8);
Tailwind
colors: {
  custom: {
    50: '#b88fd3',
    500: '#9860bf',
    950: '#000000',
  },
}
SCSS
$custom: #9860bf;
$custom-light: #b88fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9860bf",
  "rgb": {
    "r": 152,
    "g": 96,
    "b": 191
  },
  "hsl": {
    "h": 275.368,
    "s": 42.601,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58961,
    "c": 0.14996,
    "h": 309.8
  },
  "luminance": 0.18803
}

Semantic roles & 50–950 ramp

primary
#9860BF
secondary
#BAD1AA
accent
#D25589
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9860BF

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

Preview Lab → · Contrast checker → · Palette generator →

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