#9868CB#9868CB

#9868CB is a mid, vivid violet. Relative luminance 0.209; OKLCH L 60.9% C 0.151 H 304.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9868CB
RGBrgb(152, 104, 203)
HSLhsl(269, 49%, 60%)
HSVhsv(269, 49%, 80%)
CMYKcmyk(25.1%, 48.8%, 0%, 20.4%)
CIE-LABlab(52.83, 38.68, -44.39)
CIE-LCHlch(52.83, 58.88, 311.07°)
OKLaboklab(60.93% 0.0862 -0.1244)
OKLCHoklch(60.93% 0.151 304.7)
XYZxyz(28.6764, 20.8880, 59.0094)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868CB #9BCB68
analogous
#686ACB #9868CB #C968CB
triadic
#9868CB #CB9868 #68CB98
tetradic
#9868CB #CB686A #9BCB68 #68CBC9
square
#9868CB #CB686A #9BCB68 #68CBC9
split-complementary
#9868CB #CBC968 #6ACB68
monochromatic
#5B2F89 #793FB7 #9868CB #B796DB #D6C3EA

Accessibility & contrast

On white

4.06
#9868CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#9868CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868CB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868CB#FFFFFF#000000##000000
##9868CB1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DCE
Deuteranopia (green-blind)
#587EC9
Tritanopia (blue-blind)
#907990
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9868cb;
/* rgb */ color: rgb(152, 104, 203);
/* oklch */ color: oklch(60.9% 0.151 304.7);
Tailwind
colors: {
  custom: {
    50: '#b994db',
    500: '#9868cb',
    950: '#000000',
  },
}
SCSS
$custom: #9868cb;
$custom-light: #b994db;
$custom-dark: #000000;
JSON
{
  "hex": "#9868cb",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 203
  },
  "hsl": {
    "h": 269.091,
    "s": 48.768,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60928,
    "c": 0.15136,
    "h": 304.7
  },
  "luminance": 0.20888
}

Semantic roles & 50–950 ramp

primary
#9868CB
secondary
#C8DAB4
accent
#BC2975
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9868CB

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

Preview Lab → · Contrast checker → · Palette generator →

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