#CA72FD#CA72FD

#CA72FD is a light, highly saturated violet. Relative luminance 0.317; OKLCH L 70.6% C 0.208 H 311.4°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CA72FD
RGBrgb(202, 114, 253)
HSLhsl(278, 97%, 72%)
HSVhsv(278, 55%, 99%)
CMYKcmyk(20.2%, 54.9%, 0%, 0.8%)
CIE-LABlab(63.08, 57.58, -55.76)
CIE-LCHlch(63.08, 80.16, 315.92°)
OKLaboklab(70.61% 0.138 -0.1563)
OKLCHoklch(70.61% 0.208 311.4)
XYZxyz(48.1008, 31.6841, 96.4912)
Luminance0.3168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72FD #A5FD72
analogous
#8572FD #CA72FD #FD72EA
triadic
#CA72FD #FDCA72 #72FDCA
tetradic
#CA72FD #FD8572 #A5FD72 #72EAFD
square
#CA72FD #FD8572 #A5FD72 #72EAFD
split-complementary
#CA72FD #EAFD72 #72FD85
monochromatic
#9A03F1 #B336FC #CA72FD #E1AEFE #F4E1FF

Accessibility & contrast

On white

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

On black

7.34
#CA72FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72FD
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72FD#FFFFFF#000000##000000
##CA72FD1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#689AFA
Tritanopia (blue-blind)
#C48AAD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca72fd;
/* rgb */ color: rgb(202, 114, 253);
/* oklch */ color: oklch(70.6% 0.208 311.4);
Tailwind
colors: {
  custom: {
    50: '#dd9eff',
    500: '#ca72fd',
    950: '#000000',
  },
}
SCSS
$custom: #ca72fd;
$custom-light: #dd9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72fd",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 253
  },
  "hsl": {
    "h": 277.986,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70606,
    "c": 0.20848,
    "h": 311.4
  },
  "luminance": 0.31683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA72FD

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

Preview Lab → · Contrast checker → · Palette generator →

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