#CA72CC#CA72CC

#CA72CC is a light, vivid purple. Relative luminance 0.290; OKLCH L 68.1% C 0.159 H 326.3°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#CA72CC
RGBrgb(202, 114, 204)
HSLhsl(299, 47%, 62%)
HSVhsv(299, 44%, 80%)
CMYKcmyk(1%, 44.1%, 0%, 20%)
CIE-LABlab(60.74, 47.85, -32.14)
CIE-LCHlch(60.74, 57.64, 326.11°)
OKLaboklab(68.11% 0.1322 -0.088)
OKLCHoklch(68.11% 0.159 326.3)
XYZxyz(41.2727, 28.9528, 60.5295)
Luminance0.2895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72CC #74CC72
analogous
#9D72CC #CA72CC #CC72A1
triadic
#CA72CC #CCCA72 #72CCCA
tetradic
#CA72CC #CC9D72 #74CC72 #72A1CC
square
#CA72CC #CC9D72 #74CC72 #72A1CC
split-complementary
#CA72CC #A1CC72 #72CC9D
monochromatic
#8E3490 #B945BC #CA72CC #DB9FDC #ECCCED

Accessibility & contrast

On white

3.09
#CA72CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#CA72CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA72CC
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72CC#FFFFFF#000000##000000
##CA72CC1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCF
Deuteranopia (green-blind)
#8296C9
Tritanopia (blue-blind)
#CF7B95
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ca72cc;
/* rgb */ color: rgb(202, 114, 204);
/* oklch */ color: oklch(68.1% 0.159 326.3);
Tailwind
colors: {
  custom: {
    50: '#dc9ddc',
    500: '#ca72cc',
    950: '#000000',
  },
}
SCSS
$custom: #ca72cc;
$custom-light: #dc9ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72cc",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 298.667,
    "s": 46.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68113,
    "c": 0.15877,
    "h": 326.3
  },
  "luminance": 0.28951
}

Semantic roles & 50–950 ramp

primary
#CA72CC
secondary
#BDDDBC
accent
#BA2B2F
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CA72CC

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

Preview Lab → · Contrast checker → · Palette generator →

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