#CA72F9#CA72F9

#CA72F9 is a light, highly saturated violet. Relative luminance 0.314; OKLCH L 70.4% C 0.204 H 312.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#CA72F9
RGBrgb(202, 114, 249)
HSLhsl(279, 92%, 71%)
HSVhsv(279, 54%, 98%)
CMYKcmyk(18.9%, 54.2%, 0%, 2.4%)
CIE-LABlab(62.87, 56.74, -53.89)
CIE-LCHlch(62.87, 78.26, 316.48°)
OKLaboklab(70.38% 0.1377 -0.1509)
OKLCHoklch(70.38% 0.204 312.4)
XYZxyz(47.4703, 31.4319, 93.1705)
Luminance0.3143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72F9 #A1F972
analogous
#8672F9 #CA72F9 #F972E4
triadic
#CA72F9 #F9CA72 #72F9CA
tetradic
#CA72F9 #F98672 #A1F972 #72E4F9
square
#CA72F9 #F98672 #A1F972 #72E4F9
split-complementary
#CA72F9 #E4F972 #72F986
monochromatic
#9A0AE7 #B437F7 #CA72F9 #E0ADFB #F4E2FE

Accessibility & contrast

On white

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

On black

7.29
#CA72F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72F9
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72F9#FFFFFF#000000##000000
##CA72F91.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca72f9;
/* rgb */ color: rgb(202, 114, 249);
/* oklch */ color: oklch(70.4% 0.204 312.4);
Tailwind
colors: {
  custom: {
    50: '#dd9efc',
    500: '#ca72f9',
    950: '#000000',
  },
}
SCSS
$custom: #ca72f9;
$custom-light: #dd9efc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72f9",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 249
  },
  "hsl": {
    "h": 279.111,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70384,
    "c": 0.20428,
    "h": 312.4
  },
  "luminance": 0.31431
}

Semantic roles & 50–950 ramp

primary
#CA72F9
secondary
#DEF5D2
accent
#E60050
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CA72F9

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

Preview Lab → · Contrast checker → · Palette generator →

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