#CA72DD#CA72DD

#CA72DD is a light, vivid purple. Relative luminance 0.298; OKLCH L 68.9% C 0.175 H 320.3°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#CA72DD
RGBrgb(202, 114, 221)
HSLhsl(289, 61%, 66%)
HSVhsv(289, 48%, 87%)
CMYKcmyk(8.6%, 48.4%, 0%, 13.3%)
CIE-LABlab(61.49, 51.07, -40.52)
CIE-LCHlch(61.49, 65.20, 321.57°)
OKLaboklab(68.92% 0.135 -0.1121)
OKLCHoklch(68.92% 0.175 320.3)
XYZxyz(43.4240, 29.8133, 71.8598)
Luminance0.2981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72DD #85DD72
analogous
#9472DD #CA72DD #DD72BA
triadic
#CA72DD #DDCA72 #72DDCA
tetradic
#CA72DD #DD9472 #85DD72 #72BADD
square
#CA72DD #DD9472 #85DD72 #72BADD
split-complementary
#CA72DD #BADD72 #72DD94
monochromatic
#9429AB #B741D1 #CA72DD #DDA3E9 #EFD5F5

Accessibility & contrast

On white

3.02
#CA72DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#CA72DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA72DD
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72DD#FFFFFF#000000##000000
##CA72DD1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EE1
Deuteranopia (green-blind)
#7B98DA
Tritanopia (blue-blind)
#CB809D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca72dd;
/* rgb */ color: rgb(202, 114, 221);
/* oklch */ color: oklch(68.9% 0.175 320.3);
Tailwind
colors: {
  custom: {
    50: '#dc9de8',
    500: '#ca72dd',
    950: '#000000',
  },
}
SCSS
$custom: #ca72dd;
$custom-light: #dc9de8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72dd",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 221
  },
  "hsl": {
    "h": 289.346,
    "s": 61.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68919,
    "c": 0.17542,
    "h": 320.3
  },
  "luminance": 0.29812
}

Semantic roles & 50–950 ramp

primary
#CA72DD
secondary
#CAE7C4
accent
#C91D3B
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA72DD

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

Preview Lab → · Contrast checker → · Palette generator →

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