#CF72E7#CF72E7

#CF72E7 is a light, vivid purple. Relative luminance 0.311; OKLCH L 70.0% C 0.188 H 319.1°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#CF72E7
RGBrgb(207, 114, 231)
HSLhsl(288, 71%, 68%)
HSVhsv(288, 51%, 91%)
CMYKcmyk(10.4%, 50.6%, 0%, 9.4%)
CIE-LABlab(62.57, 54.40, -44.37)
CIE-LCHlch(62.57, 70.20, 320.80°)
OKLaboklab(70% 0.1421 -0.1231)
OKLCHoklch(70% 0.188 319.1)
XYZxyz(46.1714, 31.0713, 79.1511)
Luminance0.3107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF72E7 #8AE772
analogous
#9472E7 #CF72E7 #E772C5
triadic
#CF72E7 #E7CF72 #72E7CF
tetradic
#CF72E7 #E79472 #8AE772 #72C5E7
square
#CF72E7 #E79472 #8AE772 #72C5E7
split-complementary
#CF72E7 #C5E772 #72E794
monochromatic
#9E20BE #BD3EDE #CF72E7 #E1A6F0 #F3DBF9

Accessibility & contrast

On white

2.91
#CF72E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#CF72E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF72E7
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF72E7#FFFFFF#000000##000000
##CF72E71.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D91EB
Deuteranopia (green-blind)
#799BE4
Tritanopia (blue-blind)
#D083A2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf72e7;
/* rgb */ color: rgb(207, 114, 231);
/* oklch */ color: oklch(70.0% 0.188 319.1);
Tailwind
colors: {
  custom: {
    50: '#e09eef',
    500: '#cf72e7',
    950: '#000000',
  },
}
SCSS
$custom: #cf72e7;
$custom-light: #e09eef;
$custom-dark: #000000;
JSON
{
  "hex": "#cf72e7",
  "rgb": {
    "r": 207,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 287.692,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69998,
    "c": 0.18794,
    "h": 319.1
  },
  "luminance": 0.3107
}

Semantic roles & 50–950 ramp

primary
#CF72E7
secondary
#D0EDC8
accent
#D3133A
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150F16
muted
#847E84

Preview Lab

Preview with #CF72E7

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

Preview Lab → · Contrast checker → · Palette generator →

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