#CA72EA#CA72EA

#CA72EA is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.6% C 0.189 H 316.4°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#CA72EA
RGBrgb(202, 114, 234)
HSLhsl(284, 74%, 68%)
HSVhsv(284, 51%, 92%)
CMYKcmyk(13.7%, 51.3%, 0%, 8.2%)
CIE-LABlab(62.11, 53.65, -46.80)
CIE-LCHlch(62.11, 71.19, 318.91°)
OKLaboklab(69.58% 0.1365 -0.1302)
OKLCHoklch(69.58% 0.189 316.4)
XYZxyz(45.2235, 30.5331, 81.3372)
Luminance0.3053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72EA #92EA72
analogous
#8E72EA #CA72EA #EA72CE
triadic
#CA72EA #EACA72 #72EACA
tetradic
#CA72EA #EA8E72 #92EA72 #72CEEA
square
#CA72EA #EA8E72 #92EA72 #72CEEA
split-complementary
#CA72EA #CEEA72 #72EA8E
monochromatic
#981DC4 #B63DE2 #CA72EA #DEA7F2 #F2DDFA

Accessibility & contrast

On white

2.96
#CA72EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#CA72EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72EA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72EA#FFFFFF#000000##000000
##CA72EA1.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891EE
Deuteranopia (green-blind)
#7499E7
Tritanopia (blue-blind)
#C984A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca72ea;
/* rgb */ color: rgb(202, 114, 234);
/* oklch */ color: oklch(69.6% 0.189 316.4);
Tailwind
colors: {
  custom: {
    50: '#dc9df1',
    500: '#ca72ea',
    950: '#000000',
  },
}
SCSS
$custom: #ca72ea;
$custom-light: #dc9df1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72ea",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 284,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69578,
    "c": 0.18867,
    "h": 316.4
  },
  "luminance": 0.30532
}

Semantic roles & 50–950 ramp

primary
#CA72EA
secondary
#D3EECA
accent
#D60F44
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CA72EA

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

Preview Lab → · Contrast checker → · Palette generator →

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