#CB72EB#CB72EB

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

Color values

HEX#CB72EB
RGBrgb(203, 114, 235)
HSLhsl(284, 75%, 68%)
HSVhsv(284, 51%, 92%)
CMYKcmyk(13.6%, 51.5%, 0%, 7.8%)
CIE-LABlab(62.28, 54.12, -47.08)
CIE-LCHlch(62.28, 71.73, 318.98°)
OKLaboklab(69.74% 0.1378 -0.131)
OKLCHoklch(69.74% 0.19 316.4)
XYZxyz(45.6391, 30.7308, 82.1087)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB72EB #92EB72
analogous
#8E72EB #CB72EB #EB72CE
triadic
#CB72EB #EBCB72 #72EBCB
tetradic
#CB72EB #EB8E72 #92EB72 #72CEEB
square
#CB72EB #EB8E72 #92EB72 #72CEEB
split-complementary
#CB72EB #CEEB72 #72EB8E
monochromatic
#991CC6 #B73CE3 #CB72EB #DFA8F3 #F3DDFA

Accessibility & contrast

On white

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

On black

7.15
#CB72EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB72EB
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB72EB#FFFFFF#000000##000000
##CB72EB1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891EF
Deuteranopia (green-blind)
#7499E8
Tritanopia (blue-blind)
#CA84A4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb72eb;
/* rgb */ color: rgb(203, 114, 235);
/* oklch */ color: oklch(69.7% 0.190 316.4);
Tailwind
colors: {
  custom: {
    50: '#dd9ef2',
    500: '#cb72eb',
    950: '#000000',
  },
}
SCSS
$custom: #cb72eb;
$custom-light: #dd9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb72eb",
  "rgb": {
    "r": 203,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 284.132,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69744,
    "c": 0.19014,
    "h": 316.4
  },
  "luminance": 0.30729
}

Semantic roles & 50–950 ramp

primary
#CB72EB
secondary
#D4EFCA
accent
#D70E43
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CB72EB

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

Preview Lab → · Contrast checker → · Palette generator →

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