#CA72FA#CA72FA

#CA72FA is a light, highly saturated violet. Relative luminance 0.315; OKLCH L 70.4% C 0.205 H 312.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#CA72FA
RGBrgb(202, 114, 250)
HSLhsl(279, 93%, 71%)
HSVhsv(279, 54%, 98%)
CMYKcmyk(19.2%, 54.4%, 0%, 2%)
CIE-LABlab(62.92, 56.95, -54.36)
CIE-LCHlch(62.92, 78.73, 316.33°)
OKLaboklab(70.44% 0.1378 -0.1522)
OKLCHoklch(70.44% 0.205 312.1)
XYZxyz(47.6267, 31.4944, 93.9941)
Luminance0.3149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72FA #A2FA72
analogous
#8672FA #CA72FA #FA72E6
triadic
#CA72FA #FACA72 #72FACA
tetradic
#CA72FA #FA8672 #A2FA72 #72E6FA
square
#CA72FA #FA8672 #A2FA72 #72E6FA
split-complementary
#CA72FA #E6FA72 #72FA86
monochromatic
#9A08E9 #B437F8 #CA72FA #E0ADFC #F4E1FE

Accessibility & contrast

On white

2.88
#CA72FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#CA72FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72FA
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72FA#FFFFFF#000000##000000
##CA72FA1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B94FE
Deuteranopia (green-blind)
#6A9AF7
Tritanopia (blue-blind)
#C589AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca72fa;
/* rgb */ color: rgb(202, 114, 250);
/* oklch */ color: oklch(70.4% 0.205 312.1);
Tailwind
colors: {
  custom: {
    50: '#dd9efc',
    500: '#ca72fa',
    950: '#000000',
  },
}
SCSS
$custom: #ca72fa;
$custom-light: #dd9efc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72fa",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 250
  },
  "hsl": {
    "h": 278.824,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70439,
    "c": 0.20533,
    "h": 312.1
  },
  "luminance": 0.31493
}

Semantic roles & 50–950 ramp

primary
#CA72FA
secondary
#DFF6D2
accent
#E60051
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #CA72FA

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

Preview Lab → · Contrast checker → · Palette generator →

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