#CA72CA#CA72CA

#CA72CA is a light, vivid purple. Relative luminance 0.289; OKLCH L 68.0% C 0.157 H 327.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#CA72CA
RGBrgb(202, 114, 202)
HSLhsl(300, 45%, 62%)
HSVhsv(300, 44%, 79%)
CMYKcmyk(0%, 43.6%, 0%, 20.8%)
CIE-LABlab(60.66, 47.48, -31.14)
CIE-LCHlch(60.66, 56.78, 326.74°)
OKLaboklab(68.02% 0.1318 -0.0851)
OKLCHoklch(68.02% 0.157 327.1)
XYZxyz(41.0343, 28.8575, 59.2743)
Luminance0.2885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72CA #72CA72
analogous
#9E72CA #CA72CA #CA729E
triadic
#CA72CA #CACA72 #72CACA
tetradic
#CA72CA #CA9E72 #72CA72 #729ECA
square
#CA72CA #CA9E72 #72CA72 #729ECA
split-complementary
#CA72CA #9ECA72 #72CA9E
monochromatic
#8D358D #B946B9 #CA72CA #DB9EDB #EBCBEB

Accessibility & contrast

On white

3.10
#CA72CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#CA72CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA72CA
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72CA#FFFFFF#000000##000000
##CA72CA1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8BCD
Deuteranopia (green-blind)
#8396C7
Tritanopia (blue-blind)
#CF7B95
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ca72ca;
/* rgb */ color: rgb(202, 114, 202);
/* oklch */ color: oklch(68.0% 0.157 327.1);
Tailwind
colors: {
  custom: {
    50: '#dc9dda',
    500: '#ca72ca',
    950: '#000000',
  },
}
SCSS
$custom: #ca72ca;
$custom-light: #dc9dda;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72ca",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 45.361,
    "l": 61.961
  },
  "oklch": {
    "l": 0.68022,
    "c": 0.15688,
    "h": 327.1
  },
  "luminance": 0.28855
}

Semantic roles & 50–950 ramp

primary
#CA72CA
secondary
#BCDCBC
accent
#B92D2D
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E15
muted
#837E83

Preview Lab

Preview with #CA72CA

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

Preview Lab → · Contrast checker → · Palette generator →

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