#CA72EE#CA72EE

#CA72EE is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.8% C 0.193 H 315.2°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#CA72EE
RGBrgb(202, 114, 238)
HSLhsl(283, 78%, 69%)
HSVhsv(283, 52%, 93%)
CMYKcmyk(15.1%, 52.1%, 0%, 6.7%)
CIE-LABlab(62.31, 54.47, -48.70)
CIE-LCHlch(62.31, 73.07, 318.20°)
OKLaboklab(69.79% 0.1369 -0.1357)
OKLCHoklch(69.79% 0.193 315.2)
XYZxyz(45.8046, 30.7656, 84.3978)
Luminance0.3076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72EE #96EE72
analogous
#8C72EE #CA72EE #EE72D4
triadic
#CA72EE #EECA72 #72EECA
tetradic
#CA72EE #EE8C72 #96EE72 #72D4EE
square
#CA72EE #EE8C72 #96EE72 #72D4EE
split-complementary
#CA72EE #D4EE72 #72EE8C
monochromatic
#9919CD #B53BE7 #CA72EE #DFA9F5 #F3DFFB

Accessibility & contrast

On white

2.94
#CA72EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#CA72EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72EE
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72EE#FFFFFF#000000##000000
##CA72EE1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5591F2
Deuteranopia (green-blind)
#7299EB
Tritanopia (blue-blind)
#C886A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca72ee;
/* rgb */ color: rgb(202, 114, 238);
/* oklch */ color: oklch(69.8% 0.193 315.2);
Tailwind
colors: {
  custom: {
    50: '#dd9ef4',
    500: '#ca72ee',
    950: '#000000',
  },
}
SCSS
$custom: #ca72ee;
$custom-light: #dd9ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72ee",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 282.581,
    "s": 78.481,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69788,
    "c": 0.1928,
    "h": 315.2
  },
  "luminance": 0.30764
}

Semantic roles & 50–950 ramp

primary
#CA72EE
secondary
#D6F0CC
accent
#DB0B47
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CA72EE

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

Preview Lab → · Contrast checker → · Palette generator →

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