#CA72F7#CA72F7

#CA72F7 is a light, highly saturated violet. Relative luminance 0.313; OKLCH L 70.3% C 0.202 H 312.9°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#CA72F7
RGBrgb(202, 114, 247)
HSLhsl(280, 89%, 71%)
HSVhsv(280, 54%, 97%)
CMYKcmyk(18.2%, 53.8%, 0%, 3.1%)
CIE-LABlab(62.77, 56.32, -52.95)
CIE-LCHlch(62.77, 77.31, 316.77°)
OKLaboklab(70.27% 0.1376 -0.1481)
OKLCHoklch(70.27% 0.202 312.9)
XYZxyz(47.1601, 31.3078, 91.5363)
Luminance0.3131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72F7 #9FF772
analogous
#8772F7 #CA72F7 #F772E2
triadic
#CA72F7 #F7CA72 #72F7CA
tetradic
#CA72F7 #F78772 #9FF772 #72E2F7
square
#CA72F7 #F78772 #9FF772 #72E2F7
split-complementary
#CA72F7 #E2F772 #72F787
monochromatic
#9A0DE2 #B438F4 #CA72F7 #E0ACFA #F4E2FD

Accessibility & contrast

On white

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

On black

7.26
#CA72F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72F7
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72F7#FFFFFF#000000##000000
##CA72F71.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FB
Deuteranopia (green-blind)
#6C9AF4
Tritanopia (blue-blind)
#C688AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca72f7;
/* rgb */ color: rgb(202, 114, 247);
/* oklch */ color: oklch(70.3% 0.202 312.9);
Tailwind
colors: {
  custom: {
    50: '#dd9efa',
    500: '#ca72f7',
    950: '#000000',
  },
}
SCSS
$custom: #ca72f7;
$custom-light: #dd9efa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72f7",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 247
  },
  "hsl": {
    "h": 279.699,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70274,
    "c": 0.20219,
    "h": 312.9
  },
  "luminance": 0.31307
}

Semantic roles & 50–950 ramp

primary
#CA72F7
secondary
#DDF4D1
accent
#E6004E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CA72F7

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

Preview Lab → · Contrast checker → · Palette generator →

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