#CA72E7#CA72E7

#CA72E7 is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.4% C 0.186 H 317.2°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#CA72E7
RGBrgb(202, 114, 231)
HSLhsl(285, 71%, 68%)
HSVhsv(285, 51%, 91%)
CMYKcmyk(12.6%, 50.6%, 0%, 9.4%)
CIE-LABlab(61.97, 53.05, -45.36)
CIE-LCHlch(61.97, 69.80, 319.47°)
OKLaboklab(69.42% 0.1362 -0.126)
OKLCHoklch(69.42% 0.186 317.2)
XYZxyz(44.7962, 30.3622, 79.0866)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72E7 #8FE772
analogous
#8F72E7 #CA72E7 #E772CA
triadic
#CA72E7 #E7CA72 #72E7CA
tetradic
#CA72E7 #E78F72 #8FE772 #72CAE7
square
#CA72E7 #E78F72 #8FE772 #72CAE7
split-complementary
#CA72E7 #CAE772 #72E78F
monochromatic
#9720BE #B63EDE #CA72E7 #DEA6F0 #F1DBF9

Accessibility & contrast

On white

2.97
#CA72E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#CA72E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72E7
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72E7#FFFFFF#000000##000000
##CA72E71.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A90EB
Deuteranopia (green-blind)
#7699E4
Tritanopia (blue-blind)
#C983A2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca72e7;
/* rgb */ color: rgb(202, 114, 231);
/* oklch */ color: oklch(69.4% 0.186 317.2);
Tailwind
colors: {
  custom: {
    50: '#dc9def',
    500: '#ca72e7',
    950: '#000000',
  },
}
SCSS
$custom: #ca72e7;
$custom-light: #dc9def;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72e7",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 285.128,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69423,
    "c": 0.18558,
    "h": 317.2
  },
  "luminance": 0.30361
}

Semantic roles & 50–950 ramp

primary
#CA72E7
secondary
#D1EDC8
accent
#D31342
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CA72E7

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

Preview Lab → · Contrast checker → · Palette generator →

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