#CB72EA#CB72EA

#CB72EA is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.7% C 0.189 H 316.7°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#CB72EA
RGBrgb(203, 114, 234)
HSLhsl(285, 74%, 68%)
HSVhsv(285, 51%, 92%)
CMYKcmyk(13.2%, 51.3%, 0%, 8.2%)
CIE-LABlab(62.23, 53.92, -46.60)
CIE-LCHlch(62.23, 71.27, 319.17°)
OKLaboklab(69.69% 0.1377 -0.1296)
OKLCHoklch(69.69% 0.189 316.7)
XYZxyz(45.4950, 30.6731, 81.3499)
Luminance0.3067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB72EA #91EA72
analogous
#8F72EA #CB72EA #EA72CD
triadic
#CB72EA #EACB72 #72EACB
tetradic
#CB72EA #EA8F72 #91EA72 #72CDEA
square
#CB72EA #EA8F72 #91EA72 #72CDEA
split-complementary
#CB72EA #CDEA72 #72EA8F
monochromatic
#991DC4 #B73DE2 #CB72EA #DFA7F2 #F2DDFA

Accessibility & contrast

On white

2.94
#CB72EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#CB72EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB72EA
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB72EA#FFFFFF#000000##000000
##CB72EA1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EE
Deuteranopia (green-blind)
#7599E7
Tritanopia (blue-blind)
#CA84A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb72ea;
/* rgb */ color: rgb(203, 114, 234);
/* oklch */ color: oklch(69.7% 0.189 316.7);
Tailwind
colors: {
  custom: {
    50: '#dd9df1',
    500: '#cb72ea',
    950: '#000000',
  },
}
SCSS
$custom: #cb72ea;
$custom-light: #dd9df1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb72ea",
  "rgb": {
    "r": 203,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 284.5,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69692,
    "c": 0.18911,
    "h": 316.7
  },
  "luminance": 0.30672
}

Semantic roles & 50–950 ramp

primary
#CB72EA
secondary
#D3EECA
accent
#D60F43
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CB72EA

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

Preview Lab → · Contrast checker → · Palette generator →

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