#CA72EF#CA72EF

#CA72EF is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.8% C 0.194 H 315.0°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#CA72EF
RGBrgb(202, 114, 239)
HSLhsl(282, 80%, 69%)
HSVhsv(282, 52%, 94%)
CMYKcmyk(15.5%, 52.3%, 0%, 6.3%)
CIE-LABlab(62.36, 54.67, -49.18)
CIE-LCHlch(62.36, 73.54, 318.03°)
OKLaboklab(69.84% 0.137 -0.1371)
OKLCHoklch(69.84% 0.194 315)
XYZxyz(45.9520, 30.8245, 85.1737)
Luminance0.3082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72EF #97EF72
analogous
#8C72EF #CA72EF #EF72D6
triadic
#CA72EF #EFCA72 #72EFCA
tetradic
#CA72EF #EF8C72 #97EF72 #72D6EF
square
#CA72EF #EF8C72 #97EF72 #72D6EF
split-complementary
#CA72EF #D6EF72 #72EF8C
monochromatic
#9918CF #B53BE9 #CA72EF #DFA9F5 #F3E0FB

Accessibility & contrast

On white

2.93
#CA72EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#CA72EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72EF
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72EF#FFFFFF#000000##000000
##CA72EF1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5592F3
Deuteranopia (green-blind)
#7199EC
Tritanopia (blue-blind)
#C786A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca72ef;
/* rgb */ color: rgb(202, 114, 239);
/* oklch */ color: oklch(69.8% 0.194 315.0);
Tailwind
colors: {
  custom: {
    50: '#dd9ef5',
    500: '#ca72ef',
    950: '#000000',
  },
}
SCSS
$custom: #ca72ef;
$custom-light: #dd9ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72ef",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 282.24,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69842,
    "c": 0.19385,
    "h": 315
  },
  "luminance": 0.30823
}

Semantic roles & 50–950 ramp

primary
#CA72EF
secondary
#D7F1CC
accent
#DC0A48
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #CA72EF

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

Preview Lab → · Contrast checker → · Palette generator →

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