#CB96EA#CB96EA

#CB96EA is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.3% C 0.130 H 312.4°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#CB96EA
RGBrgb(203, 150, 234)
HSLhsl(278, 67%, 75%)
HSVhsv(278, 36%, 92%)
CMYKcmyk(13.2%, 35.9%, 0%, 8.2%)
CIE-LABlab(69.79, 34.88, -34.77)
CIE-LCHlch(69.79, 49.25, 315.09°)
OKLaboklab(75.35% 0.0874 -0.0957)
OKLCHoklch(75.35% 0.13 312.4)
XYZxyz(50.3837, 40.4506, 82.9795)
Luminance0.4045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB96EA #B5EA96
analogous
#A196EA #CB96EA #EA96DF
triadic
#CB96EA #EACB96 #96EACB
tetradic
#CB96EA #EAA196 #B5EA96 #96DFEA
square
#CB96EA #EAA196 #B5EA96 #96DFEA
split-complementary
#CB96EA #DFEA96 #96EAA1
monochromatic
#9830D6 #B263E0 #CB96EA #E4C9F4 #F2E5FA

Accessibility & contrast

On white

2.31
#CB96EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#CB96EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB96EA
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB96EA#FFFFFF#000000##000000
##CB96EA1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8ED
Deuteranopia (green-blind)
#94ACE8
Tritanopia (blue-blind)
#C8A1B5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cb96ea;
/* rgb */ color: rgb(203, 150, 234);
/* oklch */ color: oklch(75.3% 0.130 312.4);
Tailwind
colors: {
  custom: {
    50: '#dcb5f1',
    500: '#cb96ea',
    950: '#000000',
  },
}
SCSS
$custom: #cb96ea;
$custom-light: #dcb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb96ea",
  "rgb": {
    "r": 203,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 277.857,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7535,
    "c": 0.12967,
    "h": 312.4
  },
  "luminance": 0.4045
}

Semantic roles & 50–950 ramp

primary
#CB96EA
secondary
#E2F1DA
accent
#CF175B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB96EA

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

Preview Lab → · Contrast checker → · Palette generator →

#CB96EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva