#CA72E2#CA72E2

#CA72E2 is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.2% C 0.180 H 318.7°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#CA72E2
RGBrgb(202, 114, 226)
HSLhsl(287, 66%, 67%)
HSVhsv(287, 50%, 89%)
CMYKcmyk(10.6%, 49.6%, 0%, 11.4%)
CIE-LABlab(61.73, 52.05, -42.95)
CIE-LCHlch(61.73, 67.49, 320.48°)
OKLaboklab(69.17% 0.1356 -0.1191)
OKLCHoklch(69.17% 0.18 318.7)
XYZxyz(44.1001, 30.0838, 75.4205)
Luminance0.3008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72E2 #8AE272
analogous
#9272E2 #CA72E2 #E272C2
triadic
#CA72E2 #E2CA72 #72E2CA
tetradic
#CA72E2 #E29272 #8AE272 #72C2E2
square
#CA72E2 #E29272 #8AE272 #72C2E2
split-complementary
#CA72E2 #C2E272 #72E292
monochromatic
#9625B4 #B73FD8 #CA72E2 #DDA5EC #F0D8F7

Accessibility & contrast

On white

2.99
#CA72E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#CA72E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72E2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72E2#FFFFFF#000000##000000
##CA72E21.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8FE6
Deuteranopia (green-blind)
#7898DF
Tritanopia (blue-blind)
#CA82A0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca72e2;
/* rgb */ color: rgb(202, 114, 226);
/* oklch */ color: oklch(69.2% 0.180 318.7);
Tailwind
colors: {
  custom: {
    50: '#dc9deb',
    500: '#ca72e2',
    950: '#000000',
  },
}
SCSS
$custom: #ca72e2;
$custom-light: #dc9deb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72e2",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 226
  },
  "hsl": {
    "h": 287.143,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69168,
    "c": 0.18047,
    "h": 318.7
  },
  "luminance": 0.30082
}

Semantic roles & 50–950 ramp

primary
#CA72E2
secondary
#CEEAC6
accent
#CE183F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA72E2

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

Preview Lab → · Contrast checker → · Palette generator →

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