#CB96CF#CB96CF

#CB96CF is a light, moderate purple. Relative luminance 0.390; OKLCH L 74.2% C 0.099 H 324.2°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#CB96CF
RGBrgb(203, 150, 207)
HSLhsl(296, 37%, 70%)
HSVhsv(296, 28%, 81%)
CMYKcmyk(1.9%, 27.5%, 0%, 18.8%)
CIE-LABlab(68.76, 29.46, -21.47)
CIE-LCHlch(68.76, 36.45, 323.92°)
OKLaboklab(74.23% 0.0805 -0.0581)
OKLCHoklch(74.23% 0.099 324.2)
XYZxyz(46.7962, 39.0155, 64.0850)
Luminance0.3901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB96CF #9ACF96
analogous
#AE96CF #CB96CF #CF96B7
triadic
#CB96CF #CFCB96 #96CFCB
tetradic
#CB96CF #CFAE96 #9ACF96 #96B7CF
square
#CB96CF #CFAE96 #9ACF96 #96B7CF
split-complementary
#CB96CF #B7CF96 #96CFAE
monochromatic
#9B4AA1 #B66CBC #CB96CF #E0C0E2 #F5EAF5

Accessibility & contrast

On white

2.39
#CB96CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#CB96CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB96CF
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB96CF#FFFFFF#000000##000000
##CB96CF1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A4D1
Deuteranopia (green-blind)
#9EAACD
Tritanopia (blue-blind)
#CE9BAA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb96cf;
/* rgb */ color: rgb(203, 150, 207);
/* oklch */ color: oklch(74.2% 0.099 324.2);
Tailwind
colors: {
  custom: {
    50: '#dbb5dd',
    500: '#cb96cf',
    950: '#000000',
  },
}
SCSS
$custom: #cb96cf;
$custom-light: #dbb5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb96cf",
  "rgb": {
    "r": 203,
    "g": 150,
    "b": 207
  },
  "hsl": {
    "h": 295.789,
    "s": 37.255,
    "l": 70
  },
  "oklch": {
    "l": 0.7423,
    "c": 0.09926,
    "h": 324.2
  },
  "luminance": 0.39014
}

Semantic roles & 50–950 ramp

primary
#CB96CF
secondary
#DAE8D8
accent
#B0353E
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CB96CF

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

Preview Lab → · Contrast checker → · Palette generator →

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