#CB96E2#CB96E2

#CB96E2 is a light, vivid purple. Relative luminance 0.400; OKLCH L 75.0% C 0.120 H 315.3°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#CB96E2
RGBrgb(203, 150, 226)
HSLhsl(282, 57%, 74%)
HSVhsv(282, 34%, 89%)
CMYKcmyk(10.2%, 33.6%, 0%, 11.4%)
CIE-LABlab(69.47, 33.22, -30.87)
CIE-LCHlch(69.47, 45.35, 317.10°)
OKLaboklab(75% 0.0856 -0.0846)
OKLCHoklch(75% 0.12 315.3)
XYZxyz(49.2603, 40.0012, 77.0628)
Luminance0.4000 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB96E2 #ADE296
analogous
#A596E2 #CB96E2 #E296D3
triadic
#CB96E2 #E2CB96 #96E2CB
tetradic
#CB96E2 #E2A596 #ADE296 #96D3E2
square
#CB96E2 #E2A596 #ADE296 #96D3E2
split-complementary
#CB96E2 #D3E296 #96E2A5
monochromatic
#9B37C7 #B366D5 #CB96E2 #E3C6EF #F3E7F8

Accessibility & contrast

On white

2.33
#CB96E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#CB96E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB96E2
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB96E2#FFFFFF#000000##000000
##CB96E21.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA6E5
Deuteranopia (green-blind)
#97ABE0
Tritanopia (blue-blind)
#CAA0B2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cb96e2;
/* rgb */ color: rgb(203, 150, 226);
/* oklch */ color: oklch(75.0% 0.120 315.3);
Tailwind
colors: {
  custom: {
    50: '#dcb5eb',
    500: '#cb96e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb96e2;
$custom-light: #dcb5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb96e2",
  "rgb": {
    "r": 203,
    "g": 150,
    "b": 226
  },
  "hsl": {
    "h": 281.842,
    "s": 56.716,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75003,
    "c": 0.12035,
    "h": 315.3
  },
  "luminance": 0.4
}

Semantic roles & 50–950 ramp

primary
#CB96E2
secondary
#E2F0DB
accent
#C42153
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB96E2

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

Preview Lab → · Contrast checker → · Palette generator →

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