#CB72E2#CB72E2

#CB72E2 is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.3% C 0.181 H 319.1°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#CB72E2
RGBrgb(203, 114, 226)
HSLhsl(288, 66%, 67%)
HSVhsv(288, 50%, 89%)
CMYKcmyk(10.2%, 49.6%, 0%, 11.4%)
CIE-LABlab(61.85, 52.33, -42.75)
CIE-LCHlch(61.85, 67.57, 320.75°)
OKLaboklab(69.28% 0.1368 -0.1185)
OKLCHoklch(69.28% 0.181 319.1)
XYZxyz(44.3716, 30.2238, 75.4332)
Luminance0.3022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB72E2 #89E272
analogous
#9372E2 #CB72E2 #E272C1
triadic
#CB72E2 #E2CB72 #72E2CB
tetradic
#CB72E2 #E29372 #89E272 #72C1E2
square
#CB72E2 #E29372 #89E272 #72C1E2
split-complementary
#CB72E2 #C1E272 #72E293
monochromatic
#9725B4 #B83FD8 #CB72E2 #DEA5EC #F0D8F7

Accessibility & contrast

On white

2.98
#CB72E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#CB72E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB72E2
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB72E2#FFFFFF#000000##000000
##CB72E21.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8FE6
Deuteranopia (green-blind)
#7999DF
Tritanopia (blue-blind)
#CC82A0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb72e2;
/* rgb */ color: rgb(203, 114, 226);
/* oklch */ color: oklch(69.3% 0.181 319.1);
Tailwind
colors: {
  custom: {
    50: '#dd9deb',
    500: '#cb72e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb72e2;
$custom-light: #dd9deb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb72e2",
  "rgb": {
    "r": 203,
    "g": 114,
    "b": 226
  },
  "hsl": {
    "h": 287.679,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69283,
    "c": 0.18096,
    "h": 319.1
  },
  "luminance": 0.30222
}

Semantic roles & 50–950 ramp

primary
#CB72E2
secondary
#CDEAC6
accent
#CE183D
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CB72E2

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

Preview Lab → · Contrast checker → · Palette generator →

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