#CF72E6#CF72E6

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

Color values

HEX#CF72E6
RGBrgb(207, 114, 230)
HSLhsl(288, 70%, 67%)
HSVhsv(288, 50%, 90%)
CMYKcmyk(10%, 50.4%, 0%, 9.8%)
CIE-LABlab(62.52, 54.20, -43.89)
CIE-LCHlch(62.52, 69.74, 321.00°)
OKLaboklab(69.95% 0.1419 -0.1217)
OKLCHoklch(69.95% 0.187 319.4)
XYZxyz(46.0305, 31.0150, 78.4094)
Luminance0.3101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF72E6 #89E672
analogous
#9572E6 #CF72E6 #E672C3
triadic
#CF72E6 #E6CF72 #72E6CF
tetradic
#CF72E6 #E69572 #89E672 #72C3E6
square
#CF72E6 #E69572 #89E672 #72C3E6
split-complementary
#CF72E6 #C3E672 #72E695
monochromatic
#9E21BC #BD3EDD #CF72E6 #E1A6EF #F2DAF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF72E6#FFFFFF#000000##000000
##CF72E61.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)
#5D91EA
Deuteranopia (green-blind)
#7A9AE3
Tritanopia (blue-blind)
#D082A2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf72e6;
/* rgb */ color: rgb(207, 114, 230);
/* oklch */ color: oklch(69.9% 0.187 319.4);
Tailwind
colors: {
  custom: {
    50: '#e09eee',
    500: '#cf72e6',
    950: '#000000',
  },
}
SCSS
$custom: #cf72e6;
$custom-light: #e09eee;
$custom-dark: #000000;
JSON
{
  "hex": "#cf72e6",
  "rgb": {
    "r": 207,
    "g": 114,
    "b": 230
  },
  "hsl": {
    "h": 288.103,
    "s": 69.88,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69947,
    "c": 0.18694,
    "h": 319.4
  },
  "luminance": 0.31013
}

Semantic roles & 50–950 ramp

primary
#CF72E6
secondary
#CFECC8
accent
#D21439
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150F16
muted
#847E84

Preview Lab

Preview with #CF72E6

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

Preview Lab → · Contrast checker → · Palette generator →

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