#CB72EE#CB72EE

#CB72EE is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.9% C 0.193 H 315.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CB72EE
RGBrgb(203, 114, 238)
HSLhsl(283, 78%, 69%)
HSVhsv(283, 52%, 93%)
CMYKcmyk(14.7%, 52.1%, 0%, 6.7%)
CIE-LABlab(62.43, 54.73, -48.51)
CIE-LCHlch(62.43, 73.13, 318.45°)
OKLaboklab(69.9% 0.1381 -0.1352)
OKLCHoklch(69.9% 0.193 315.6)
XYZxyz(46.0762, 30.9056, 84.4106)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB72EE #95EE72
analogous
#8D72EE #CB72EE #EE72D3
triadic
#CB72EE #EECB72 #72EECB
tetradic
#CB72EE #EE8D72 #95EE72 #72D3EE
square
#CB72EE #EE8D72 #95EE72 #72D3EE
split-complementary
#CB72EE #D3EE72 #72EE8D
monochromatic
#9A19CD #B73BE7 #CB72EE #DFA9F5 #F3DFFB

Accessibility & contrast

On white

2.92
#CB72EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#CB72EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB72EE
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB72EE#FFFFFF#000000##000000
##CB72EE1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F2
Deuteranopia (green-blind)
#729AEB
Tritanopia (blue-blind)
#C985A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb72ee;
/* rgb */ color: rgb(203, 114, 238);
/* oklch */ color: oklch(69.9% 0.193 315.6);
Tailwind
colors: {
  custom: {
    50: '#dd9ef4',
    500: '#cb72ee',
    950: '#000000',
  },
}
SCSS
$custom: #cb72ee;
$custom-light: #dd9ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb72ee",
  "rgb": {
    "r": 203,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 283.065,
    "s": 78.481,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69902,
    "c": 0.19323,
    "h": 315.6
  },
  "luminance": 0.30904
}

Semantic roles & 50–950 ramp

primary
#CB72EE
secondary
#D6F0CC
accent
#DB0B45
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CB72EE

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

Preview Lab → · Contrast checker → · Palette generator →

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