#CA72FE#CA72FE

#CA72FE is a light, highly saturated violet. Relative luminance 0.317; OKLCH L 70.7% C 0.210 H 311.2°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#CA72FE
RGBrgb(202, 114, 254)
HSLhsl(278, 99%, 72%)
HSVhsv(278, 55%, 100%)
CMYKcmyk(20.5%, 55.1%, 0%, 0.4%)
CIE-LABlab(63.13, 57.80, -56.22)
CIE-LCHlch(63.13, 80.63, 315.79°)
OKLaboklab(70.66% 0.138 -0.1577)
OKLCHoklch(70.66% 0.21 311.2)
XYZxyz(48.2606, 31.7480, 97.3324)
Luminance0.3175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72FE #A6FE72
analogous
#8472FE #CA72FE #FE72EC
triadic
#CA72FE #FECA72 #72FECA
tetradic
#CA72FE #FE8472 #A6FE72 #72ECFE
square
#CA72FE #FE8472 #A6FE72 #72ECFE
split-complementary
#CA72FE #ECFE72 #72FE84
monochromatic
#9A02F4 #B335FE #CA72FE #E1AFFE #F4E1FF

Accessibility & contrast

On white

2.86
#CA72FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#CA72FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72FE
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72FE#FFFFFF#000000##000000
##CA72FE1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#679BFB
Tritanopia (blue-blind)
#C48BAD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca72fe;
/* rgb */ color: rgb(202, 114, 254);
/* oklch */ color: oklch(70.7% 0.210 311.2);
Tailwind
colors: {
  custom: {
    50: '#dd9eff',
    500: '#ca72fe',
    950: '#000000',
  },
}
SCSS
$custom: #ca72fe;
$custom-light: #dd9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72fe",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 254
  },
  "hsl": {
    "h": 277.714,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70663,
    "c": 0.20953,
    "h": 311.2
  },
  "luminance": 0.31747
}

Semantic roles & 50–950 ramp

primary
#CA72FE
secondary
#E1F7D4
accent
#E60055
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #CA72FE

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

Preview Lab → · Contrast checker → · Palette generator →

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