#CA72E3#CA72E3

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

Color values

HEX#CA72E3
RGBrgb(202, 114, 227)
HSLhsl(287, 67%, 67%)
HSVhsv(287, 50%, 89%)
CMYKcmyk(11%, 49.8%, 0%, 11%)
CIE-LABlab(61.77, 52.25, -43.43)
CIE-LCHlch(61.77, 67.95, 320.27°)
OKLaboklab(69.22% 0.1358 -0.1205)
OKLCHoklch(69.22% 0.182 318.4)
XYZxyz(44.2377, 30.1388, 76.1453)
Luminance0.3014 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72E3 #8BE372
analogous
#9272E3 #CA72E3 #E372C3
triadic
#CA72E3 #E3CA72 #72E3CA
tetradic
#CA72E3 #E39272 #8BE372 #72C3E3
square
#CA72E3 #E39272 #8BE372 #72C3E3
split-complementary
#CA72E3 #C3E372 #72E392
monochromatic
#9624B6 #B73FD9 #CA72E3 #DDA5ED #F0D8F7

Accessibility & contrast

On white

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

On black

7.03
#CA72E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72E3
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72E3#FFFFFF#000000##000000
##CA72E31.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca72e3;
/* rgb */ color: rgb(202, 114, 227);
/* oklch */ color: oklch(69.2% 0.181 318.4);
Tailwind
colors: {
  custom: {
    50: '#dc9dec',
    500: '#ca72e3',
    950: '#000000',
  },
}
SCSS
$custom: #ca72e3;
$custom-light: #dc9dec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72e3",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 227
  },
  "hsl": {
    "h": 286.726,
    "s": 66.864,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69219,
    "c": 0.1815,
    "h": 318.4
  },
  "luminance": 0.30137
}

Semantic roles & 50–950 ramp

primary
#CA72E3
secondary
#CEEAC6
accent
#CF173F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CA72E3

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

Preview Lab → · Contrast checker → · Palette generator →

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