#CB96FF#CB96FF

#CB96FF is a light, vivid violet. Relative luminance 0.417; OKLCH L 76.3% C 0.155 H 306.3°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#CB96FF
RGBrgb(203, 150, 255)
HSLhsl(270, 100%, 79%)
HSVhsv(270, 41%, 100%)
CMYKcmyk(20.4%, 41.2%, 0%, 0%)
CIE-LABlab(70.68, 39.40, -44.83)
CIE-LCHlch(70.68, 59.69, 311.31°)
OKLaboklab(76.32% 0.0917 -0.1247)
OKLCHoklch(76.32% 0.155 306.3)
XYZxyz(53.5813, 41.7296, 99.8202)
Luminance0.4173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB96FF #CAFF96
analogous
#9796FF #CB96FF #FF96FE
triadic
#CB96FF #FFCB96 #96FFCB
tetradic
#CB96FF #FF9796 #CAFF96 #96FEFF
square
#CB96FF #FF9796 #CAFF96 #96FEFF
split-complementary
#CB96FF #FEFF96 #96FF97
monochromatic
#8E1CFF #AD59FF #CB96FF #E9D3FF #F0E0FF

Accessibility & contrast

On white

2.25
#CB96FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#CB96FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB96FF
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB96FF#FFFFFF#000000##000000
##CB96FF1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EABFF
Deuteranopia (green-blind)
#8AADFC
Tritanopia (blue-blind)
#C3A7BE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cb96ff;
/* rgb */ color: rgb(203, 150, 255);
/* oklch */ color: oklch(76.3% 0.155 306.3);
Tailwind
colors: {
  custom: {
    50: '#dcb5ff',
    500: '#cb96ff',
    950: '#000000',
  },
}
SCSS
$custom: #cb96ff;
$custom-light: #dcb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb96ff",
  "rgb": {
    "r": 203,
    "g": 150,
    "b": 255
  },
  "hsl": {
    "h": 270.286,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.7632,
    "c": 0.15474,
    "h": 306.3
  },
  "luminance": 0.41729
}

Semantic roles & 50–950 ramp

primary
#CB96FF
secondary
#E5F7D4
accent
#E60072
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CB96FF

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

Preview Lab → · Contrast checker → · Palette generator →

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