#CA72FF#CA72FF

#CA72FF is a light, highly saturated violet. Relative luminance 0.318; OKLCH L 70.7% C 0.211 H 311.0°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#CA72FF
RGBrgb(202, 114, 255)
HSLhsl(277, 100%, 72%)
HSVhsv(277, 55%, 100%)
CMYKcmyk(20.8%, 55.3%, 0%, 0%)
CIE-LABlab(63.19, 58.01, -56.69)
CIE-LCHlch(63.19, 81.11, 315.66°)
OKLaboklab(70.72% 0.138 -0.159)
OKLCHoklch(70.72% 0.211 311)
XYZxyz(48.4211, 31.8122, 98.1779)
Luminance0.3181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72FF #A7FF72
analogous
#8472FF #CA72FF #FF72ED
triadic
#CA72FF #FFCA72 #72FFCA
tetradic
#CA72FF #FF8472 #A7FF72 #72EDFF
square
#CA72FF #FF8472 #A7FF72 #72EDFF
split-complementary
#CA72FF #EDFF72 #72FF84
monochromatic
#9A00F7 #B335FF #CA72FF #E1AFFF #F3E0FF

Accessibility & contrast

On white

2.85
#CA72FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#CA72FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72FF
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72FF#FFFFFF#000000##000000
##CA72FF1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4795FF
Deuteranopia (green-blind)
#669BFC
Tritanopia (blue-blind)
#C48BAE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca72ff;
/* rgb */ color: rgb(202, 114, 255);
/* oklch */ color: oklch(70.7% 0.211 311.0);
Tailwind
colors: {
  custom: {
    50: '#dd9eff',
    500: '#ca72ff',
    950: '#000000',
  },
}
SCSS
$custom: #ca72ff;
$custom-light: #dd9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72ff",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 255
  },
  "hsl": {
    "h": 277.447,
    "s": 100,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70719,
    "c": 0.21058,
    "h": 311
  },
  "luminance": 0.31811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA72FF

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

Preview Lab → · Contrast checker → · Palette generator →

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