#CB72E8#CB72E8

#CB72E8 is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.6% C 0.187 H 317.3°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#CB72E8
RGBrgb(203, 114, 232)
HSLhsl(285, 72%, 68%)
HSVhsv(285, 51%, 91%)
CMYKcmyk(12.5%, 50.9%, 0%, 9%)
CIE-LABlab(62.13, 53.52, -45.64)
CIE-LCHlch(62.13, 70.34, 319.54°)
OKLaboklab(69.59% 0.1375 -0.1268)
OKLCHoklch(69.59% 0.187 317.3)
XYZxyz(45.2093, 30.5589, 79.8453)
Luminance0.3056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB72E8 #8FE872
analogous
#9072E8 #CB72E8 #E872CA
triadic
#CB72E8 #E8CB72 #72E8CB
tetradic
#CB72E8 #E89072 #8FE872 #72CAE8
square
#CB72E8 #E89072 #8FE872 #72CAE8
split-complementary
#CB72E8 #CAE872 #72E890
monochromatic
#991FC0 #B83DDF #CB72E8 #DEA7F1 #F2DBF9

Accessibility & contrast

On white

2.95
#CB72E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#CB72E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB72E8
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB72E8#FFFFFF#000000##000000
##CB72E81.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A90EC
Deuteranopia (green-blind)
#7699E5
Tritanopia (blue-blind)
#CA84A3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb72e8;
/* rgb */ color: rgb(203, 114, 232);
/* oklch */ color: oklch(69.6% 0.187 317.3);
Tailwind
colors: {
  custom: {
    50: '#dd9df0',
    500: '#cb72e8',
    950: '#000000',
  },
}
SCSS
$custom: #cb72e8;
$custom-light: #dd9df0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb72e8",
  "rgb": {
    "r": 203,
    "g": 114,
    "b": 232
  },
  "hsl": {
    "h": 285.254,
    "s": 71.951,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69589,
    "c": 0.18706,
    "h": 317.3
  },
  "luminance": 0.30557
}

Semantic roles & 50–950 ramp

primary
#CB72E8
secondary
#D2EDC9
accent
#D41141
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CB72E8

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

Preview Lab → · Contrast checker → · Palette generator →

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