#CB72DB#CB72DB

#CB72DB is a light, vivid purple. Relative luminance 0.298; OKLCH L 68.9% C 0.174 H 321.3°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#CB72DB
RGBrgb(203, 114, 219)
HSLhsl(291, 59%, 65%)
HSVhsv(291, 48%, 86%)
CMYKcmyk(7.3%, 47.9%, 0%, 14.1%)
CIE-LABlab(61.52, 50.97, -39.35)
CIE-LCHlch(61.52, 64.39, 322.33°)
OKLaboklab(68.94% 0.1358 -0.1086)
OKLCHoklch(68.94% 0.174 321.3)
XYZxyz(43.4306, 29.8474, 70.4775)
Luminance0.2985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB72DB #82DB72
analogous
#9672DB #CB72DB #DB72B6
triadic
#CB72DB #DBCB72 #72DBCB
tetradic
#CB72DB #DB9672 #82DB72 #72B6DB
square
#CB72DB #DB9672 #82DB72 #72B6DB
split-complementary
#CB72DB #B6DB72 #72DB96
monochromatic
#952BA8 #B941CF #CB72DB #DDA3E7 #EFD4F4

Accessibility & contrast

On white

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

On black

6.97
#CB72DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB72DB
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB72DB#FFFFFF#000000##000000
##CB72DB1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EDF
Deuteranopia (green-blind)
#7C98D8
Tritanopia (blue-blind)
#CD809C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb72db;
/* rgb */ color: rgb(203, 114, 219);
/* oklch */ color: oklch(68.9% 0.174 321.3);
Tailwind
colors: {
  custom: {
    50: '#dd9de6',
    500: '#cb72db',
    950: '#000000',
  },
}
SCSS
$custom: #cb72db;
$custom-light: #dd9de6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb72db",
  "rgb": {
    "r": 203,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 290.857,
    "s": 59.322,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68937,
    "c": 0.17395,
    "h": 321.3
  },
  "luminance": 0.29846
}

Semantic roles & 50–950 ramp

primary
#CB72DB
secondary
#C8E6C3
accent
#C71F38
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CB72DB

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

Preview Lab → · Contrast checker → · Palette generator →

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