#CA72F2#CA72F2

#CA72F2 is a light, vivid purple. Relative luminance 0.310; OKLCH L 70.0% C 0.197 H 314.2°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CA72F2
RGBrgb(202, 114, 242)
HSLhsl(281, 83%, 70%)
HSVhsv(281, 53%, 95%)
CMYKcmyk(16.5%, 52.9%, 0%, 5.1%)
CIE-LABlab(62.51, 55.29, -50.60)
CIE-LCHlch(62.51, 74.95, 317.54°)
OKLaboklab(70% 0.1373 -0.1413)
OKLCHoklch(70% 0.197 314.2)
XYZxyz(46.3988, 31.0033, 87.5272)
Luminance0.3100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA72F2 #9AF272
analogous
#8A72F2 #CA72F2 #F272DA
triadic
#CA72F2 #F2CA72 #72F2CA
tetradic
#CA72F2 #F28A72 #9AF272 #72DAF2
square
#CA72F2 #F28A72 #9AF272 #72DAF2
split-complementary
#CA72F2 #DAF272 #72F28A
monochromatic
#9914D6 #B53AED #CA72F2 #DFAAF7 #F4E2FC

Accessibility & contrast

On white

2.92
#CA72F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CA72F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA72F2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA72F2#FFFFFF#000000##000000
##CA72F21.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#6F99EF
Tritanopia (blue-blind)
#C787A7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca72f2;
/* rgb */ color: rgb(202, 114, 242);
/* oklch */ color: oklch(70.0% 0.197 314.2);
Tailwind
colors: {
  custom: {
    50: '#dd9ef7',
    500: '#ca72f2',
    950: '#000000',
  },
}
SCSS
$custom: #ca72f2;
$custom-light: #dd9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca72f2",
  "rgb": {
    "r": 202,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 281.25,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70002,
    "c": 0.19696,
    "h": 314.2
  },
  "luminance": 0.31002
}

Semantic roles & 50–950 ramp

primary
#CA72F2
secondary
#D9F2CE
accent
#E0064A
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CA72F2

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

Preview Lab → · Contrast checker → · Palette generator →

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