#CA72EB#CA72EB

#CA72EB is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.6% C 0.190 H 316.1°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#CA72EB
RGBrgb(202, 114, 235)
HSLhsl(284, 75%, 68%)
HSVhsv(284, 51%, 92%)
CMYKcmyk(14%, 51.5%, 0%, 7.8%)
CIE-LABlab(62.16, 53.86, -47.27)
CIE-LCHlch(62.16, 71.66, 318.72°)
OKLaboklab(69.63% 0.1366 -0.1316)
OKLCHoklch(69.63% 0.19 316.1)
XYZxyz(45.3676, 30.5908, 82.0959)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72EB #93EB72
analogous
#8D72EB #CA72EB #EB72D0
triadic
#CA72EB #EBCA72 #72EBCA
tetradic
#CA72EB #EB8D72 #93EB72 #72D0EB
square
#CA72EB #EB8D72 #93EB72 #72D0EB
split-complementary
#CA72EB #D0EB72 #72EB8D
monochromatic
#981CC6 #B63CE3 #CA72EB #DEA8F3 #F2DDFA

Accessibility & contrast

On white

2.95
#CA72EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#CA72EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72EB
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72EB#FFFFFF#000000##000000
##CA72EB1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891EF
Deuteranopia (green-blind)
#7399E8
Tritanopia (blue-blind)
#C885A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca72eb;
/* rgb */ color: rgb(202, 114, 235);
/* oklch */ color: oklch(69.6% 0.190 316.1);
Tailwind
colors: {
  custom: {
    50: '#dc9df2',
    500: '#ca72eb',
    950: '#000000',
  },
}
SCSS
$custom: #ca72eb;
$custom-light: #dc9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72eb",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 283.636,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6963,
    "c": 0.1897,
    "h": 316.1
  },
  "luminance": 0.30589
}

Semantic roles & 50–950 ramp

primary
#CA72EB
secondary
#D4EFCA
accent
#D70E45
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CA72EB

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

Preview Lab → · Contrast checker → · Palette generator →

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