#9860BE#9860BE

#9860BE is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.9% C 0.149 H 310.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9860BE
RGBrgb(152, 96, 190)
HSLhsl(276, 42%, 56%)
HSVhsv(276, 49%, 75%)
CMYKcmyk(20%, 49.5%, 0%, 25.5%)
CIE-LABlab(50.40, 40.11, -40.76)
CIE-LCHlch(50.40, 57.19, 314.53°)
OKLaboklab(58.91% 0.0958 -0.1138)
OKLCHoklch(58.91% 0.149 310.1)
XYZxyz(26.4243, 18.7593, 50.9341)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9860BE #86BE60
analogous
#6960BE #9860BE #BE60B5
triadic
#9860BE #BE9860 #60BE98
tetradic
#9860BE #BE6960 #86BE60 #60B5BE
square
#9860BE #BE6960 #86BE60 #60B5BE
split-complementary
#9860BE #B5BE60 #60BE69
monochromatic
#582F74 #7941A0 #9860BE #B48BD0 #D0B7E2

Accessibility & contrast

On white

4.42
#9860BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#9860BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9860BE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9860BE#FFFFFF#000000##000000
##9860BE1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4875C1
Deuteranopia (green-blind)
#5879BC
Tritanopia (blue-blind)
#936F86
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9860be;
/* rgb */ color: rgb(152, 96, 190);
/* oklch */ color: oklch(58.9% 0.149 310.1);
Tailwind
colors: {
  custom: {
    50: '#b88fd2',
    500: '#9860be',
    950: '#000000',
  },
}
SCSS
$custom: #9860be;
$custom-light: #b88fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9860be",
  "rgb": {
    "r": 152,
    "g": 96,
    "b": 190
  },
  "hsl": {
    "h": 275.745,
    "s": 41.964,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58906,
    "c": 0.14877,
    "h": 310.1
  },
  "luminance": 0.18759
}

Semantic roles & 50–950 ramp

primary
#9860BE
secondary
#B9D0A9
accent
#D25688
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9860BE

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

Preview Lab → · Contrast checker → · Palette generator →

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