#CB72E4#CB72E4

#CB72E4 is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.4% C 0.183 H 318.5°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#CB72E4
RGBrgb(203, 114, 228)
HSLhsl(287, 68%, 67%)
HSVhsv(287, 50%, 89%)
CMYKcmyk(11%, 50%, 0%, 10.6%)
CIE-LABlab(61.94, 52.72, -43.72)
CIE-LCHlch(61.94, 68.49, 320.34°)
OKLaboklab(69.38% 0.137 -0.1213)
OKLCHoklch(69.38% 0.183 318.5)
XYZxyz(44.6476, 30.3342, 76.8870)
Luminance0.3033 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB72E4 #8BE472
analogous
#9272E4 #CB72E4 #E472C4
triadic
#CB72E4 #E4CB72 #72E4CB
tetradic
#CB72E4 #E49272 #8BE472 #72C4E4
square
#CB72E4 #E49272 #8BE472 #72C4E4
split-complementary
#CB72E4 #C4E472 #72E492
monochromatic
#9823B8 #B83FDA #CB72E4 #DEA5EE #F1D9F8

Accessibility & contrast

On white

2.97
#CB72E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#CB72E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB72E4
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB72E4#FFFFFF#000000##000000
##CB72E41.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D90E8
Deuteranopia (green-blind)
#7899E1
Tritanopia (blue-blind)
#CB82A1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb72e4;
/* rgb */ color: rgb(203, 114, 228);
/* oklch */ color: oklch(69.4% 0.183 318.5);
Tailwind
colors: {
  custom: {
    50: '#dd9ded',
    500: '#cb72e4',
    950: '#000000',
  },
}
SCSS
$custom: #cb72e4;
$custom-light: #dd9ded;
$custom-dark: #000000;
JSON
{
  "hex": "#cb72e4",
  "rgb": {
    "r": 203,
    "g": 114,
    "b": 228
  },
  "hsl": {
    "h": 286.842,
    "s": 67.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69384,
    "c": 0.18299,
    "h": 318.5
  },
  "luminance": 0.30333
}

Semantic roles & 50–950 ramp

primary
#CB72E4
secondary
#CFEBC7
accent
#D0163F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CB72E4

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

Preview Lab → · Contrast checker → · Palette generator →

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