#CA72DF#CA72DF

#CA72DF is a light, vivid purple. Relative luminance 0.299; OKLCH L 69.0% C 0.177 H 319.7°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#CA72DF
RGBrgb(202, 114, 223)
HSLhsl(288, 63%, 66%)
HSVhsv(288, 49%, 87%)
CMYKcmyk(9.4%, 48.9%, 0%, 12.5%)
CIE-LABlab(61.59, 51.46, -41.49)
CIE-LCHlch(61.59, 66.11, 321.12°)
OKLaboklab(69.02% 0.1352 -0.1149)
OKLCHoklch(69.02% 0.177 319.7)
XYZxyz(43.6920, 29.9206, 73.2715)
Luminance0.2992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72DF #87DF72
analogous
#9372DF #CA72DF #DF72BD
triadic
#CA72DF #DFCA72 #72DFCA
tetradic
#CA72DF #DF9372 #87DF72 #72BDDF
square
#CA72DF #DF9372 #87DF72 #72BDDF
split-complementary
#CA72DF #BDDF72 #72DF93
monochromatic
#9528AF #B740D4 #CA72DF #DDA4EA #EFD6F6

Accessibility & contrast

On white

3.01
#CA72DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#CA72DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA72DF
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72DF#FFFFFF#000000##000000
##CA72DF1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#608FE3
Deuteranopia (green-blind)
#7A98DC
Tritanopia (blue-blind)
#CB819E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca72df;
/* rgb */ color: rgb(202, 114, 223);
/* oklch */ color: oklch(69.0% 0.177 319.7);
Tailwind
colors: {
  custom: {
    50: '#dc9de9',
    500: '#ca72df',
    950: '#000000',
  },
}
SCSS
$custom: #ca72df;
$custom-light: #dc9de9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72df",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 288.44,
    "s": 63.006,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69018,
    "c": 0.17743,
    "h": 319.7
  },
  "luminance": 0.29919
}

Semantic roles & 50–950 ramp

primary
#CA72DF
secondary
#CBE8C4
accent
#CB1B3D
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA72DF

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

Preview Lab → · Contrast checker → · Palette generator →

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