#CA72FB#CA72FB

#CA72FB is a light, highly saturated violet. Relative luminance 0.316; OKLCH L 70.5% C 0.206 H 311.9°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CA72FB
RGBrgb(202, 114, 251)
HSLhsl(279, 94%, 72%)
HSVhsv(279, 55%, 98%)
CMYKcmyk(19.5%, 54.6%, 0%, 1.6%)
CIE-LABlab(62.98, 57.16, -54.83)
CIE-LCHlch(62.98, 79.21, 316.20°)
OKLaboklab(70.49% 0.1378 -0.1536)
OKLCHoklch(70.49% 0.206 311.9)
XYZxyz(47.7839, 31.5573, 94.8221)
Luminance0.3156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72FB #A3FB72
analogous
#8672FB #CA72FB #FB72E8
triadic
#CA72FB #FBCA72 #72FBCA
tetradic
#CA72FB #FB8672 #A3FB72 #72E8FB
square
#CA72FB #FB8672 #A3FB72 #72E8FB
split-complementary
#CA72FB #E8FB72 #72FB86
monochromatic
#9A07EC #B436F9 #CA72FB #E0AEFD #F4E1FE

Accessibility & contrast

On white

2.87
#CA72FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#CA72FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72FB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72FB#FFFFFF#000000##000000
##CA72FB1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B94FF
Deuteranopia (green-blind)
#699AF8
Tritanopia (blue-blind)
#C58AAC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca72fb;
/* rgb */ color: rgb(202, 114, 251);
/* oklch */ color: oklch(70.5% 0.206 311.9);
Tailwind
colors: {
  custom: {
    50: '#dd9efd',
    500: '#ca72fb',
    950: '#000000',
  },
}
SCSS
$custom: #ca72fb;
$custom-light: #dd9efd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72fb",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 278.54,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70495,
    "c": 0.20637,
    "h": 311.9
  },
  "luminance": 0.31556
}

Semantic roles & 50–950 ramp

primary
#CA72FB
secondary
#DFF6D3
accent
#E60052
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #CA72FB

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

Preview Lab → · Contrast checker → · Palette generator →

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