#CA72F8#CA72F8

#CA72F8 is a light, highly saturated violet. Relative luminance 0.314; OKLCH L 70.3% C 0.203 H 312.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CA72F8
RGBrgb(202, 114, 248)
HSLhsl(279, 91%, 71%)
HSVhsv(279, 54%, 97%)
CMYKcmyk(18.5%, 54%, 0%, 2.7%)
CIE-LABlab(62.82, 56.53, -53.42)
CIE-LCHlch(62.82, 77.78, 316.62°)
OKLaboklab(70.33% 0.1377 -0.1495)
OKLCHoklch(70.33% 0.203 312.6)
XYZxyz(47.3148, 31.3696, 92.3512)
Luminance0.3137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72F8 #A0F872
analogous
#8772F8 #CA72F8 #F872E3
triadic
#CA72F8 #F8CA72 #72F8CA
tetradic
#CA72F8 #F88772 #A0F872 #72E3F8
square
#CA72F8 #F88772 #A0F872 #72E3F8
split-complementary
#CA72F8 #E3F872 #72F887
monochromatic
#9A0BE4 #B438F5 #CA72F8 #E0ACFB #F4E2FE

Accessibility & contrast

On white

2.89
#CA72F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#CA72F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72F8
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72F8#FFFFFF#000000##000000
##CA72F81.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D93FC
Deuteranopia (green-blind)
#6B9AF5
Tritanopia (blue-blind)
#C589AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca72f8;
/* rgb */ color: rgb(202, 114, 248);
/* oklch */ color: oklch(70.3% 0.203 312.6);
Tailwind
colors: {
  custom: {
    50: '#dd9efb',
    500: '#ca72f8',
    950: '#000000',
  },
}
SCSS
$custom: #ca72f8;
$custom-light: #dd9efb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72f8",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 279.403,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70329,
    "c": 0.20323,
    "h": 312.6
  },
  "luminance": 0.31368
}

Semantic roles & 50–950 ramp

primary
#CA72F8
secondary
#DDF5D1
accent
#E6004F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CA72F8

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

Preview Lab → · Contrast checker → · Palette generator →

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