#CA72E6#CA72E6

#CA72E6 is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.4% C 0.185 H 317.5°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#CA72E6
RGBrgb(202, 114, 230)
HSLhsl(286, 70%, 67%)
HSVhsv(286, 50%, 90%)
CMYKcmyk(12.2%, 50.4%, 0%, 9.8%)
CIE-LABlab(61.92, 52.85, -44.88)
CIE-LCHlch(61.92, 69.33, 319.66°)
OKLaboklab(69.37% 0.1361 -0.1246)
OKLCHoklch(69.37% 0.185 317.5)
XYZxyz(44.6553, 30.3059, 78.3449)
Luminance0.3030 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72E6 #8EE672
analogous
#9072E6 #CA72E6 #E672C8
triadic
#CA72E6 #E6CA72 #72E6CA
tetradic
#CA72E6 #E69072 #8EE672 #72C8E6
square
#CA72E6 #E69072 #8EE672 #72C8E6
split-complementary
#CA72E6 #C8E672 #72E690
monochromatic
#9721BC #B63EDD #CA72E6 #DEA6EF #F1DAF8

Accessibility & contrast

On white

2.97
#CA72E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#CA72E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72E6
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72E6#FFFFFF#000000##000000
##CA72E61.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B90EA
Deuteranopia (green-blind)
#7698E3
Tritanopia (blue-blind)
#C983A2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca72e6;
/* rgb */ color: rgb(202, 114, 230);
/* oklch */ color: oklch(69.4% 0.185 317.5);
Tailwind
colors: {
  custom: {
    50: '#dc9dee',
    500: '#ca72e6',
    950: '#000000',
  },
}
SCSS
$custom: #ca72e6;
$custom-light: #dc9dee;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72e6",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 230
  },
  "hsl": {
    "h": 285.517,
    "s": 69.88,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69371,
    "c": 0.18456,
    "h": 317.5
  },
  "luminance": 0.30304
}

Semantic roles & 50–950 ramp

primary
#CA72E6
secondary
#D1ECC8
accent
#D21442
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CA72E6

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

Preview Lab → · Contrast checker → · Palette generator →

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