#CA72E5#CA72E5

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

Color values

HEX#CA72E5
RGBrgb(202, 114, 229)
HSLhsl(286, 69%, 67%)
HSVhsv(286, 50%, 90%)
CMYKcmyk(11.8%, 50.2%, 0%, 10.2%)
CIE-LABlab(61.87, 52.65, -44.40)
CIE-LCHlch(61.87, 68.87, 319.86°)
OKLaboklab(69.32% 0.136 -0.1233)
OKLCHoklch(69.32% 0.184 317.8)
XYZxyz(44.5153, 30.2499, 77.6075)
Luminance0.3025 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72E5 #8DE572
analogous
#9172E5 #CA72E5 #E572C7
triadic
#CA72E5 #E5CA72 #72E5CA
tetradic
#CA72E5 #E59172 #8DE572 #72C7E5
square
#CA72E5 #E59172 #8DE572 #72C7E5
split-complementary
#CA72E5 #C7E572 #72E591
monochromatic
#9722BA #B73EDB #CA72E5 #DDA6EF #F1D9F8

Accessibility & contrast

On white

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

On black

7.05
#CA72E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72E5
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72E5#FFFFFF#000000##000000
##CA72E51.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C90E9
Deuteranopia (green-blind)
#7798E2
Tritanopia (blue-blind)
#CA83A1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca72e5;
/* rgb */ color: rgb(202, 114, 229);
/* oklch */ color: oklch(69.3% 0.184 317.8);
Tailwind
colors: {
  custom: {
    50: '#dc9ded',
    500: '#ca72e5',
    950: '#000000',
  },
}
SCSS
$custom: #ca72e5;
$custom-light: #dc9ded;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72e5",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 229
  },
  "hsl": {
    "h": 285.913,
    "s": 68.862,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6932,
    "c": 0.18353,
    "h": 317.8
  },
  "luminance": 0.30248
}

Semantic roles & 50–950 ramp

primary
#CA72E5
secondary
#D0ECC7
accent
#D11541
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CA72E5

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

Preview Lab → · Contrast checker → · Palette generator →

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