#9863CB#9863CB

#9863CB is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.1% C 0.159 H 305.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9863CB
RGBrgb(152, 99, 203)
HSLhsl(271, 50%, 59%)
HSVhsv(271, 51%, 80%)
CMYKcmyk(25.1%, 51.2%, 0%, 20.4%)
CIE-LABlab(51.74, 41.47, -46.12)
CIE-LCHlch(51.74, 62.02, 311.96°)
OKLaboklab(60.12% 0.093 -0.1295)
OKLCHoklch(60.12% 0.159 305.7)
XYZxyz(28.1880, 19.9111, 58.8466)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9863CB #96CB63
analogous
#6463CB #9863CB #CB63CA
triadic
#9863CB #CB9863 #63CB98
tetradic
#9863CB #CB6463 #96CB63 #63CACB
square
#9863CB #CB6463 #96CB63 #63CACB
split-complementary
#9863CB #CACB63 #63CB64
monochromatic
#5B2D87 #7A3CB5 #9863CB #B691DA #D5BFEA

Accessibility & contrast

On white

4.22
#9863CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#9863CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9863CB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9863CB#FFFFFF#000000##000000
##9863CB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#437ACF
Deuteranopia (green-blind)
#537CC8
Tritanopia (blue-blind)
#90768E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9863cb;
/* rgb */ color: rgb(152, 99, 203);
/* oklch */ color: oklch(60.1% 0.159 305.7);
Tailwind
colors: {
  custom: {
    50: '#b991db',
    500: '#9863cb',
    950: '#000000',
  },
}
SCSS
$custom: #9863cb;
$custom-light: #b991db;
$custom-dark: #000000;
JSON
{
  "hex": "#9863cb",
  "rgb": {
    "r": 152,
    "g": 99,
    "b": 203
  },
  "hsl": {
    "h": 270.577,
    "s": 50,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60118,
    "c": 0.15939,
    "h": 305.7
  },
  "luminance": 0.19911
}

Semantic roles & 50–950 ramp

primary
#9863CB
secondary
#C5D9B1
accent
#DA4E93
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9863CB

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

Preview Lab → · Contrast checker → · Palette generator →

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