#CA72FC#CA72FC

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

Color values

HEX#CA72FC
RGBrgb(202, 114, 252)
HSLhsl(278, 96%, 72%)
HSVhsv(278, 55%, 99%)
CMYKcmyk(19.8%, 54.8%, 0%, 1.2%)
CIE-LABlab(63.03, 57.37, -55.29)
CIE-LCHlch(63.03, 79.68, 316.06°)
OKLaboklab(70.55% 0.1379 -0.1549)
OKLCHoklch(70.55% 0.207 311.7)
XYZxyz(47.9420, 31.6205, 95.6544)
Luminance0.3162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72FC #A4FC72
analogous
#8572FC #CA72FC #FC72E9
triadic
#CA72FC #FCCA72 #72FCCA
tetradic
#CA72FC #FC8572 #A4FC72 #72E9FC
square
#CA72FC #FC8572 #A4FC72 #72E9FC
split-complementary
#CA72FC #E9FC72 #72FC85
monochromatic
#9A05EF #B336FB #CA72FC #E1AEFD #F4E1FE

Accessibility & contrast

On white

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

On black

7.32
#CA72FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72FC
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72FC#FFFFFF#000000##000000
##CA72FC1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#699AF9
Tritanopia (blue-blind)
#C48AAC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca72fc;
/* rgb */ color: rgb(202, 114, 252);
/* oklch */ color: oklch(70.5% 0.207 311.7);
Tailwind
colors: {
  custom: {
    50: '#dd9efe',
    500: '#ca72fc',
    950: '#000000',
  },
}
SCSS
$custom: #ca72fc;
$custom-light: #dd9efe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72fc",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 278.261,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7055,
    "c": 0.20743,
    "h": 311.7
  },
  "luminance": 0.31619
}

Semantic roles & 50–950 ramp

primary
#CA72FC
secondary
#E0F6D3
accent
#E60053
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #CA72FC

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

Preview Lab → · Contrast checker → · Palette generator →

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