#9861CB#9861CB

#9861CB is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.8% C 0.163 H 306.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9861CB
RGBrgb(152, 97, 203)
HSLhsl(271, 50%, 59%)
HSVhsv(271, 52%, 80%)
CMYKcmyk(25.1%, 52.2%, 0%, 20.4%)
CIE-LABlab(51.31, 42.57, -46.80)
CIE-LCHlch(51.31, 63.27, 312.29°)
OKLaboklab(59.8% 0.0957 -0.1314)
OKLCHoklch(59.8% 0.163 306)
XYZxyz(28.0008, 19.5368, 58.7842)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9861CB #94CB61
analogous
#6361CB #9861CB #CB61C9
triadic
#9861CB #CB9861 #61CB98
tetradic
#9861CB #CB6361 #94CB61 #61C9CB
square
#9861CB #CB6361 #94CB61 #61C9CB
split-complementary
#9861CB #C9CB61 #61CB63
monochromatic
#5A2C86 #7A3BB4 #9861CB #B68FDA #D4BDE9

Accessibility & contrast

On white

4.28
#9861CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#9861CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9861CB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9861CB#FFFFFF#000000##000000
##9861CB1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4078CF
Deuteranopia (green-blind)
#517BC8
Tritanopia (blue-blind)
#90748D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9861cb;
/* rgb */ color: rgb(152, 97, 203);
/* oklch */ color: oklch(59.8% 0.163 306.0);
Tailwind
colors: {
  custom: {
    50: '#b98fdb',
    500: '#9861cb',
    950: '#000000',
  },
}
SCSS
$custom: #9861cb;
$custom-light: #b98fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9861cb",
  "rgb": {
    "r": 152,
    "g": 97,
    "b": 203
  },
  "hsl": {
    "h": 271.132,
    "s": 50.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59802,
    "c": 0.16257,
    "h": 306
  },
  "luminance": 0.19537
}

Semantic roles & 50–950 ramp

primary
#9861CB
secondary
#C3D9AF
accent
#DA4E91
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9861CB

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

Preview Lab → · Contrast checker → · Palette generator →

#9861CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva