#CA72E1#CA72E1

#CA72E1 is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.1% C 0.179 H 319.0°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#CA72E1
RGBrgb(202, 114, 225)
HSLhsl(288, 65%, 66%)
HSVhsv(288, 49%, 88%)
CMYKcmyk(10.2%, 49.3%, 0%, 11.8%)
CIE-LABlab(61.68, 51.86, -42.46)
CIE-LCHlch(61.68, 67.03, 320.69°)
OKLaboklab(69.12% 0.1355 -0.1177)
OKLCHoklch(69.12% 0.179 319)
XYZxyz(43.9633, 30.0290, 74.6999)
Luminance0.3003 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72E1 #89E172
analogous
#9372E1 #CA72E1 #E172C0
triadic
#CA72E1 #E1CA72 #72E1CA
tetradic
#CA72E1 #E19372 #89E172 #72C0E1
square
#CA72E1 #E19372 #89E172 #72C0E1
split-complementary
#CA72E1 #C0E172 #72E193
monochromatic
#9526B3 #B740D6 #CA72E1 #DDA4EC #F0D7F6

Accessibility & contrast

On white

3.00
#CA72E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#CA72E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72E1
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72E1#FFFFFF#000000##000000
##CA72E11.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8FE5
Deuteranopia (green-blind)
#7998DE
Tritanopia (blue-blind)
#CB829F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca72e1;
/* rgb */ color: rgb(202, 114, 225);
/* oklch */ color: oklch(69.1% 0.179 319.0);
Tailwind
colors: {
  custom: {
    50: '#dc9deb',
    500: '#ca72e1',
    950: '#000000',
  },
}
SCSS
$custom: #ca72e1;
$custom-light: #dc9deb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72e1",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 225
  },
  "hsl": {
    "h": 287.568,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69118,
    "c": 0.17946,
    "h": 319
  },
  "luminance": 0.30027
}

Semantic roles & 50–950 ramp

primary
#CA72E1
secondary
#CDE9C5
accent
#CD193E
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA72E1

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

Preview Lab → · Contrast checker → · Palette generator →

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