#CA72E8#CA72E8

#CA72E8 is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.5% C 0.187 H 316.9°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CA72E8
RGBrgb(202, 114, 232)
HSLhsl(285, 72%, 68%)
HSVhsv(285, 51%, 91%)
CMYKcmyk(12.9%, 50.9%, 0%, 9%)
CIE-LABlab(62.01, 53.25, -45.84)
CIE-LCHlch(62.01, 70.26, 319.28°)
OKLaboklab(69.47% 0.1363 -0.1274)
OKLCHoklch(69.47% 0.187 316.9)
XYZxyz(44.9378, 30.4189, 79.8325)
Luminance0.3042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72E8 #90E872
analogous
#8F72E8 #CA72E8 #E872CB
triadic
#CA72E8 #E8CA72 #72E8CA
tetradic
#CA72E8 #E88F72 #90E872 #72CBE8
square
#CA72E8 #E88F72 #90E872 #72CBE8
split-complementary
#CA72E8 #CBE872 #72E88F
monochromatic
#971FC0 #B63DDF #CA72E8 #DEA7F1 #F2DBF9

Accessibility & contrast

On white

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

On black

7.08
#CA72E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72E8
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72E8#FFFFFF#000000##000000
##CA72E81.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A90EC
Deuteranopia (green-blind)
#7599E5
Tritanopia (blue-blind)
#C984A3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca72e8;
/* rgb */ color: rgb(202, 114, 232);
/* oklch */ color: oklch(69.5% 0.187 316.9);
Tailwind
colors: {
  custom: {
    50: '#dc9df0',
    500: '#ca72e8',
    950: '#000000',
  },
}
SCSS
$custom: #ca72e8;
$custom-light: #dc9df0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72e8",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 232
  },
  "hsl": {
    "h": 284.746,
    "s": 71.951,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69474,
    "c": 0.18661,
    "h": 316.9
  },
  "luminance": 0.30417
}

Semantic roles & 50–950 ramp

primary
#CA72E8
secondary
#D2EDC9
accent
#D41143
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CA72E8

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

Preview Lab → · Contrast checker → · Palette generator →

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