#CA72DC#CA72DC

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

Color values

HEX#CA72DC
RGBrgb(202, 114, 220)
HSLhsl(290, 60%, 65%)
HSVhsv(290, 48%, 86%)
CMYKcmyk(8.2%, 48.2%, 0%, 13.7%)
CIE-LABlab(61.45, 50.88, -40.03)
CIE-LCHlch(61.45, 64.74, 321.80°)
OKLaboklab(68.87% 0.1348 -0.1106)
OKLCHoklch(68.87% 0.174 320.6)
XYZxyz(43.2912, 29.7602, 71.1602)
Luminance0.2976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72DC #84DC72
analogous
#9572DC #CA72DC #DC72B9
triadic
#CA72DC #DCCA72 #72DCCA
tetradic
#CA72DC #DC9572 #84DC72 #72B9DC
square
#CA72DC #DC9572 #84DC72 #72B9DC
split-complementary
#CA72DC #B9DC72 #72DC95
monochromatic
#942AAA #B841D0 #CA72DC #DCA3E8 #EFD4F4

Accessibility & contrast

On white

3.02
#CA72DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#CA72DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA72DC
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72DC#FFFFFF#000000##000000
##CA72DC1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EE0
Deuteranopia (green-blind)
#7B98D9
Tritanopia (blue-blind)
#CC809D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca72dc;
/* rgb */ color: rgb(202, 114, 220);
/* oklch */ color: oklch(68.9% 0.174 320.6);
Tailwind
colors: {
  custom: {
    50: '#dc9de7',
    500: '#ca72dc',
    950: '#000000',
  },
}
SCSS
$custom: #ca72dc;
$custom-light: #dc9de7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72dc",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 289.811,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6887,
    "c": 0.17441,
    "h": 320.6
  },
  "luminance": 0.29758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA72DC

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

Preview Lab → · Contrast checker → · Palette generator →

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