#CB72E7#CB72E7

#CB72E7 is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.5% C 0.186 H 317.6°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#CB72E7
RGBrgb(203, 114, 231)
HSLhsl(286, 71%, 68%)
HSVhsv(286, 51%, 91%)
CMYKcmyk(12.1%, 50.6%, 0%, 9.4%)
CIE-LABlab(62.09, 53.32, -45.16)
CIE-LCHlch(62.09, 69.87, 319.74°)
OKLaboklab(69.54% 0.1374 -0.1254)
OKLCHoklch(69.54% 0.186 317.6)
XYZxyz(45.0677, 30.5022, 79.0993)
Luminance0.3050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB72E7 #8EE772
analogous
#9072E7 #CB72E7 #E772C8
triadic
#CB72E7 #E7CB72 #72E7CB
tetradic
#CB72E7 #E79072 #8EE772 #72C8E7
square
#CB72E7 #E79072 #8EE772 #72C8E7
split-complementary
#CB72E7 #C8E772 #72E790
monochromatic
#9820BE #B83EDE #CB72E7 #DEA6F0 #F2DBF9

Accessibility & contrast

On white

2.96
#CB72E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#CB72E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB72E7
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB72E7#FFFFFF#000000##000000
##CB72E71.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B90EB
Deuteranopia (green-blind)
#7699E4
Tritanopia (blue-blind)
#CB83A2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb72e7;
/* rgb */ color: rgb(203, 114, 231);
/* oklch */ color: oklch(69.5% 0.186 317.6);
Tailwind
colors: {
  custom: {
    50: '#dd9def',
    500: '#cb72e7',
    950: '#000000',
  },
}
SCSS
$custom: #cb72e7;
$custom-light: #dd9def;
$custom-dark: #000000;
JSON
{
  "hex": "#cb72e7",
  "rgb": {
    "r": 203,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 285.641,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69537,
    "c": 0.18604,
    "h": 317.6
  },
  "luminance": 0.30501
}

Semantic roles & 50–950 ramp

primary
#CB72E7
secondary
#D1EDC8
accent
#D31341
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CB72E7

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

Preview Lab → · Contrast checker → · Palette generator →

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