#CB72DC#CB72DC

#CB72DC is a light, vivid purple. Relative luminance 0.299; OKLCH L 69.0% C 0.175 H 321.0°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#CB72DC
RGBrgb(203, 114, 220)
HSLhsl(290, 60%, 65%)
HSVhsv(290, 48%, 86%)
CMYKcmyk(7.7%, 48.2%, 0%, 13.7%)
CIE-LABlab(61.57, 51.16, -39.83)
CIE-LCHlch(61.57, 64.84, 322.09°)
OKLaboklab(68.99% 0.136 -0.1101)
OKLCHoklch(68.99% 0.175 321)
XYZxyz(43.5627, 29.9002, 71.1729)
Luminance0.2990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB72DC #83DC72
analogous
#9672DC #CB72DC #DC72B8
triadic
#CB72DC #DCCB72 #72DCCB
tetradic
#CB72DC #DC9672 #83DC72 #72B8DC
square
#CB72DC #DC9672 #83DC72 #72B8DC
split-complementary
#CB72DC #B8DC72 #72DC96
monochromatic
#952AAA #B941D0 #CB72DC #DDA3E8 #EFD4F4

Accessibility & contrast

On white

3.01
#CB72DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#CB72DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB72DC
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB72DC#FFFFFF#000000##000000
##CB72DC1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EE0
Deuteranopia (green-blind)
#7C98D9
Tritanopia (blue-blind)
#CD809D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb72dc;
/* rgb */ color: rgb(203, 114, 220);
/* oklch */ color: oklch(69.0% 0.175 321.0);
Tailwind
colors: {
  custom: {
    50: '#dd9de7',
    500: '#cb72dc',
    950: '#000000',
  },
}
SCSS
$custom: #cb72dc;
$custom-light: #dd9de7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb72dc",
  "rgb": {
    "r": 203,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 290.377,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68986,
    "c": 0.17494,
    "h": 321
  },
  "luminance": 0.29898
}

Semantic roles & 50–950 ramp

primary
#CB72DC
secondary
#C9E7C3
accent
#C81E39
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CB72DC

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

Preview Lab → · Contrast checker → · Palette generator →

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