#CA72F4#CA72F4

#CA72F4 is a light, vivid purple. Relative luminance 0.311; OKLCH L 70.1% C 0.199 H 313.7°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CA72F4
RGBrgb(202, 114, 244)
HSLhsl(281, 86%, 70%)
HSVhsv(281, 53%, 96%)
CMYKcmyk(17.2%, 53.3%, 0%, 4.3%)
CIE-LABlab(62.61, 55.70, -51.54)
CIE-LCHlch(62.61, 75.89, 317.22°)
OKLaboklab(70.11% 0.1374 -0.144)
OKLCHoklch(70.11% 0.199 313.7)
XYZxyz(46.7008, 31.1241, 89.1179)
Luminance0.3112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72F4 #9CF472
analogous
#8972F4 #CA72F4 #F472DD
triadic
#CA72F4 #F4CA72 #72F4CA
tetradic
#CA72F4 #F48972 #9CF472 #72DDF4
square
#CA72F4 #F48972 #9CF472 #72DDF4
split-complementary
#CA72F4 #DDF472 #72F489
monochromatic
#9911DB #B539F0 #CA72F4 #DFABF8 #F4E3FD

Accessibility & contrast

On white

2.91
#CA72F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#CA72F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72F4
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72F4#FFFFFF#000000##000000
##CA72F41.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5193F8
Deuteranopia (green-blind)
#6E9AF1
Tritanopia (blue-blind)
#C687A8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca72f4;
/* rgb */ color: rgb(202, 114, 244);
/* oklch */ color: oklch(70.1% 0.199 313.7);
Tailwind
colors: {
  custom: {
    50: '#dd9ef8',
    500: '#ca72f4',
    950: '#000000',
  },
}
SCSS
$custom: #ca72f4;
$custom-light: #dd9ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72f4",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 244
  },
  "hsl": {
    "h": 280.615,
    "s": 85.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7011,
    "c": 0.19905,
    "h": 313.7
  },
  "luminance": 0.31123
}

Semantic roles & 50–950 ramp

primary
#CA72F4
secondary
#DBF3CF
accent
#E2034B
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CA72F4

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

Preview Lab → · Contrast checker → · Palette generator →

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