#CF72EE#CF72EE

#CF72EE is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.4% C 0.195 H 317.1°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#CF72EE
RGBrgb(207, 114, 238)
HSLhsl(285, 78%, 69%)
HSVhsv(285, 52%, 93%)
CMYKcmyk(13%, 52.1%, 0%, 6.7%)
CIE-LABlab(62.91, 55.78, -47.72)
CIE-LCHlch(62.91, 73.41, 319.45°)
OKLaboklab(70.36% 0.1428 -0.1328)
OKLCHoklch(70.36% 0.195 317.1)
XYZxyz(47.1798, 31.4747, 84.4623)
Luminance0.3147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF72EE #91EE72
analogous
#9172EE #CF72EE #EE72CF
triadic
#CF72EE #EECF72 #72EECF
tetradic
#CF72EE #EE9172 #91EE72 #72CFEE
square
#CF72EE #EE9172 #91EE72 #72CFEE
split-complementary
#CF72EE #CFEE72 #72EE91
monochromatic
#A019CD #BC3BE7 #CF72EE #E2A9F5 #F4DFFB

Accessibility & contrast

On white

2.88
#CF72EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#CF72EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF72EE
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF72EE#FFFFFF#000000##000000
##CF72EE1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F2
Deuteranopia (green-blind)
#759BEB
Tritanopia (blue-blind)
#CE85A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf72ee;
/* rgb */ color: rgb(207, 114, 238);
/* oklch */ color: oklch(70.4% 0.195 317.1);
Tailwind
colors: {
  custom: {
    50: '#e09ef4',
    500: '#cf72ee',
    950: '#000000',
  },
}
SCSS
$custom: #cf72ee;
$custom-light: #e09ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf72ee",
  "rgb": {
    "r": 207,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 285,
    "s": 78.481,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70358,
    "c": 0.19499,
    "h": 317.1
  },
  "luminance": 0.31473
}

Semantic roles & 50–950 ramp

primary
#CF72EE
secondary
#D5F0CC
accent
#DB0B3F
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #CF72EE

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

Preview Lab → · Contrast checker → · Palette generator →

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