#CE97DD#CE97DD

#CE97DD is a light, moderate purple. Relative luminance 0.405; OKLCH L 75.3% C 0.114 H 318.9°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#CE97DD
RGBrgb(206, 151, 221)
HSLhsl(287, 51%, 73%)
HSVhsv(287, 32%, 87%)
CMYKcmyk(6.8%, 31.7%, 0%, 13.3%)
CIE-LABlab(69.81, 32.60, -27.57)
CIE-LCHlch(69.81, 42.70, 319.78°)
OKLaboklab(75.27% 0.0863 -0.0752)
OKLCHoklch(75.27% 0.114 318.9)
XYZxyz(49.5696, 40.4767, 73.5941)
Luminance0.4047 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE97DD #A6DD97
analogous
#AB97DD #CE97DD #DD97C9
triadic
#CE97DD #DDCE97 #97DDCE
tetradic
#CE97DD #DDAB97 #A6DD97 #97C9DD
square
#CE97DD #DDAB97 #A6DD97 #97C9DD
split-complementary
#CE97DD #C9DD97 #97DDAB
monochromatic
#A13DBC #B869CE #CE97DD #E4C5EC #F4E8F7

Accessibility & contrast

On white

2.31
#CE97DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#CE97DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE97DD
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE97DD#FFFFFF#000000##000000
##CE97DD1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA7E0
Deuteranopia (green-blind)
#9BADDB
Tritanopia (blue-blind)
#CF9FB0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ce97dd;
/* rgb */ color: rgb(206, 151, 221);
/* oklch */ color: oklch(75.3% 0.114 318.9);
Tailwind
colors: {
  custom: {
    50: '#deb6e7',
    500: '#ce97dd',
    950: '#000000',
  },
}
SCSS
$custom: #ce97dd;
$custom-light: #deb6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ce97dd",
  "rgb": {
    "r": 206,
    "g": 151,
    "b": 221
  },
  "hsl": {
    "h": 287.143,
    "s": 50.725,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75265,
    "c": 0.11447,
    "h": 318.9
  },
  "luminance": 0.40475
}

Semantic roles & 50–950 ramp

primary
#CE97DD
secondary
#E0EFDC
accent
#BE2748
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CE97DD

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

Preview Lab → · Contrast checker → · Palette generator →

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