#CA72ED#CA72ED

#CA72ED is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.7% C 0.192 H 315.5°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#CA72ED
RGBrgb(202, 114, 237)
HSLhsl(283, 77%, 69%)
HSVhsv(283, 52%, 93%)
CMYKcmyk(14.8%, 51.9%, 0%, 7.1%)
CIE-LABlab(62.26, 54.26, -48.23)
CIE-LCHlch(62.26, 72.60, 318.37°)
OKLaboklab(69.74% 0.1368 -0.1344)
OKLCHoklch(69.74% 0.192 315.5)
XYZxyz(45.6581, 30.7070, 83.6262)
Luminance0.3071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72ED #95ED72
analogous
#8D72ED #CA72ED #ED72D3
triadic
#CA72ED #EDCA72 #72EDCA
tetradic
#CA72ED #ED8D72 #95ED72 #72D3ED
square
#CA72ED #ED8D72 #95ED72 #72D3ED
split-complementary
#CA72ED #D3ED72 #72ED8D
monochromatic
#981ACB #B63CE6 #CA72ED #DEA8F4 #F3DFFB

Accessibility & contrast

On white

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

On black

7.14
#CA72ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72ED
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72ED#FFFFFF#000000##000000
##CA72ED1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F1
Deuteranopia (green-blind)
#7299EA
Tritanopia (blue-blind)
#C885A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca72ed;
/* rgb */ color: rgb(202, 114, 237);
/* oklch */ color: oklch(69.7% 0.192 315.5);
Tailwind
colors: {
  custom: {
    50: '#dc9df3',
    500: '#ca72ed',
    950: '#000000',
  },
}
SCSS
$custom: #ca72ed;
$custom-light: #dc9df3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72ed",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 237
  },
  "hsl": {
    "h": 282.927,
    "s": 77.358,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69736,
    "c": 0.19177,
    "h": 315.5
  },
  "luminance": 0.30706
}

Semantic roles & 50–950 ramp

primary
#CA72ED
secondary
#D6F0CB
accent
#DA0C46
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CA72ED

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

Preview Lab → · Contrast checker → · Palette generator →

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