#CE72ED#CE72ED

#CE72ED is a light, vivid purple. Relative luminance 0.313; OKLCH L 70.2% C 0.194 H 317.0°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#CE72ED
RGBrgb(206, 114, 237)
HSLhsl(285, 77%, 69%)
HSVhsv(285, 52%, 93%)
CMYKcmyk(13.1%, 51.9%, 0%, 7.1%)
CIE-LABlab(62.74, 55.32, -47.44)
CIE-LCHlch(62.74, 72.87, 319.38°)
OKLaboklab(70.19% 0.1415 -0.132)
OKLCHoklch(70.19% 0.194 317)
XYZxyz(46.7548, 31.2724, 83.6776)
Luminance0.3127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE72ED #91ED72
analogous
#9172ED #CE72ED #ED72CF
triadic
#CE72ED #EDCE72 #72EDCE
tetradic
#CE72ED #ED9172 #91ED72 #72CFED
square
#CE72ED #ED9172 #91ED72 #72CFED
split-complementary
#CE72ED #CFED72 #72ED91
monochromatic
#9E1ACB #BB3CE6 #CE72ED #E1A8F4 #F4DFFB

Accessibility & contrast

On white

2.89
#CE72ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#CE72ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE72ED
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE72ED#FFFFFF#000000##000000
##CE72ED1.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F1
Deuteranopia (green-blind)
#759BEA
Tritanopia (blue-blind)
#CD85A5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ce72ed;
/* rgb */ color: rgb(206, 114, 237);
/* oklch */ color: oklch(70.2% 0.194 317.0);
Tailwind
colors: {
  custom: {
    50: '#df9ef3',
    500: '#ce72ed',
    950: '#000000',
  },
}
SCSS
$custom: #ce72ed;
$custom-light: #df9ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#ce72ed",
  "rgb": {
    "r": 206,
    "g": 114,
    "b": 237
  },
  "hsl": {
    "h": 284.878,
    "s": 77.358,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70191,
    "c": 0.19352,
    "h": 317
  },
  "luminance": 0.31271
}

Semantic roles & 50–950 ramp

primary
#CE72ED
secondary
#D4F0CB
accent
#DA0C40
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150F17
muted
#847E85

Preview Lab

Preview with #CE72ED

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

Preview Lab → · Contrast checker → · Palette generator →

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