#CA72C2#CA72C2

#CA72C2 is a light, vivid purple. Relative luminance 0.285; OKLCH L 67.7% C 0.150 H 330.5°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#CA72C2
RGBrgb(202, 114, 194)
HSLhsl(305, 45%, 62%)
HSVhsv(305, 44%, 79%)
CMYKcmyk(0%, 43.6%, 4%, 20.8%)
CIE-LABlab(60.33, 46.05, -27.11)
CIE-LCHlch(60.33, 53.44, 329.51°)
OKLaboklab(67.67% 0.1301 -0.0737)
OKLCHoklch(67.67% 0.15 330.5)
XYZxyz(40.1116, 28.4884, 54.4145)
Luminance0.2849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72C2 #72CA7A
analogous
#A672CA #CA72C2 #CA7296
triadic
#CA72C2 #C2CA72 #72C2CA
tetradic
#CA72C2 #CAA672 #72CA7A #7296CA
square
#CA72C2 #CAA672 #72CA7A #7296CA
split-complementary
#CA72C2 #96CA72 #72CAA6
monochromatic
#8D3585 #B946AF #CA72C2 #DB9ED5 #EBCBE8

Accessibility & contrast

On white

3.14
#CA72C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#CA72C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA72C2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72C2#FFFFFF#000000##000000
##CA72C21.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8AC5
Deuteranopia (green-blind)
#8696BF
Tritanopia (blue-blind)
#D07991
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ca72c2;
/* rgb */ color: rgb(202, 114, 194);
/* oklch */ color: oklch(67.7% 0.150 330.5);
Tailwind
colors: {
  custom: {
    50: '#dc9dd4',
    500: '#ca72c2',
    950: '#000000',
  },
}
SCSS
$custom: #ca72c2;
$custom-light: #dc9dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72c2",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 194
  },
  "hsl": {
    "h": 305.455,
    "s": 45.361,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67669,
    "c": 0.14953,
    "h": 330.5
  },
  "luminance": 0.28486
}

Semantic roles & 50–950 ramp

primary
#CA72C2
secondary
#BCDCBF
accent
#B93A2D
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #CA72C2

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

Preview Lab → · Contrast checker → · Palette generator →

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