#CA72CD#CA72CD

#CA72CD is a light, vivid purple. Relative luminance 0.290; OKLCH L 68.2% C 0.160 H 326.0°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#CA72CD
RGBrgb(202, 114, 205)
HSLhsl(298, 48%, 63%)
HSVhsv(298, 44%, 80%)
CMYKcmyk(1.5%, 44.4%, 0%, 19.6%)
CIE-LABlab(60.78, 48.04, -32.64)
CIE-LCHlch(60.78, 58.07, 325.81°)
OKLaboklab(68.16% 0.1323 -0.0894)
OKLCHoklch(68.16% 0.16 326)
XYZxyz(41.3930, 29.0009, 61.1632)
Luminance0.2900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72CD #75CD72
analogous
#9C72CD #CA72CD #CD72A2
triadic
#CA72CD #CDCA72 #72CDCA
tetradic
#CA72CD #CD9C72 #75CD72 #72A2CD
square
#CA72CD #CD9C72 #75CD72 #72A2CD
split-complementary
#CA72CD #A2CD72 #72CD9C
monochromatic
#8E3391 #B945BD #CA72CD #DB9FDD #ECCCED

Accessibility & contrast

On white

3.09
#CA72CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#CA72CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA72CD
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72CD#FFFFFF#000000##000000
##CA72CD1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#698CD0
Deuteranopia (green-blind)
#8297CA
Tritanopia (blue-blind)
#CE7C96
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ca72cd;
/* rgb */ color: rgb(202, 114, 205);
/* oklch */ color: oklch(68.2% 0.160 326.0);
Tailwind
colors: {
  custom: {
    50: '#dc9ddc',
    500: '#ca72cd',
    950: '#000000',
  },
}
SCSS
$custom: #ca72cd;
$custom-light: #dc9ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72cd",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 298.022,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.68158,
    "c": 0.15972,
    "h": 326
  },
  "luminance": 0.28999
}

Semantic roles & 50–950 ramp

primary
#CA72CD
secondary
#BEDEBD
accent
#BB2B2F
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CA72CD

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

Preview Lab → · Contrast checker → · Palette generator →

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