#CB96DF#CB96DF

#CB96DF is a light, moderate purple. Relative luminance 0.398; OKLCH L 74.9% C 0.117 H 316.5°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#CB96DF
RGBrgb(203, 150, 223)
HSLhsl(284, 53%, 73%)
HSVhsv(284, 33%, 87%)
CMYKcmyk(9%, 32.7%, 0%, 12.5%)
CIE-LABlab(69.35, 32.61, -29.40)
CIE-LCHlch(69.35, 43.91, 317.96°)
OKLaboklab(74.88% 0.0848 -0.0805)
OKLCHoklch(74.88% 0.117 316.5)
XYZxyz(48.8523, 39.8380, 74.9138)
Luminance0.3984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB96DF #AADF96
analogous
#A696DF #CB96DF #DF96CE
triadic
#CB96DF #DFCB96 #96DFCB
tetradic
#CB96DF #DFA696 #AADF96 #96CEDF
square
#CB96DF #DFA696 #AADF96 #96CEDF
split-complementary
#CB96DF #CEDF96 #96DFA6
monochromatic
#9B3BC0 #B467D1 #CB96DF #E2C5ED #F3E8F8

Accessibility & contrast

On white

2.34
#CB96DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#CB96DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB96DF
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB96DF#FFFFFF#000000##000000
##CB96DF1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA6E2
Deuteranopia (green-blind)
#98ABDD
Tritanopia (blue-blind)
#CB9FB1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cb96df;
/* rgb */ color: rgb(203, 150, 223);
/* oklch */ color: oklch(74.9% 0.117 316.5);
Tailwind
colors: {
  custom: {
    50: '#dbb5e9',
    500: '#cb96df',
    950: '#000000',
  },
}
SCSS
$custom: #cb96df;
$custom-light: #dbb5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb96df",
  "rgb": {
    "r": 203,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 283.562,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74876,
    "c": 0.1169,
    "h": 316.5
  },
  "luminance": 0.39837
}

Semantic roles & 50–950 ramp

primary
#CB96DF
secondary
#E1EFDC
accent
#C1254F
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB96DF

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

Preview Lab → · Contrast checker → · Palette generator →

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