#CA72E4#CA72E4

#CA72E4 is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.3% C 0.183 H 318.1°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#CA72E4
RGBrgb(202, 114, 228)
HSLhsl(286, 68%, 67%)
HSVhsv(286, 50%, 89%)
CMYKcmyk(11.4%, 50%, 0%, 10.6%)
CIE-LABlab(61.82, 52.45, -43.91)
CIE-LCHlch(61.82, 68.41, 320.06°)
OKLaboklab(69.27% 0.1359 -0.1219)
OKLCHoklch(69.27% 0.183 318.1)
XYZxyz(44.3761, 30.1942, 76.8742)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72E4 #8CE472
analogous
#9172E4 #CA72E4 #E472C5
triadic
#CA72E4 #E4CA72 #72E4CA
tetradic
#CA72E4 #E49172 #8CE472 #72C5E4
square
#CA72E4 #E49172 #8CE472 #72C5E4
split-complementary
#CA72E4 #C5E472 #72E491
monochromatic
#9623B8 #B73FDA #CA72E4 #DDA5EE #F1D9F8

Accessibility & contrast

On white

2.98
#CA72E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#CA72E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72E4
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72E4#FFFFFF#000000##000000
##CA72E41.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C90E8
Deuteranopia (green-blind)
#7798E1
Tritanopia (blue-blind)
#CA82A1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca72e4;
/* rgb */ color: rgb(202, 114, 228);
/* oklch */ color: oklch(69.3% 0.183 318.1);
Tailwind
colors: {
  custom: {
    50: '#dc9ded',
    500: '#ca72e4',
    950: '#000000',
  },
}
SCSS
$custom: #ca72e4;
$custom-light: #dc9ded;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72e4",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 228
  },
  "hsl": {
    "h": 286.316,
    "s": 67.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69269,
    "c": 0.18251,
    "h": 318.1
  },
  "luminance": 0.30193
}

Semantic roles & 50–950 ramp

primary
#CA72E4
secondary
#CFEBC7
accent
#D01640
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CA72E4

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

Preview Lab → · Contrast checker → · Palette generator →

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