#CE97DE#CE97DE

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

Color values

HEX#CE97DE
RGBrgb(206, 151, 222)
HSLhsl(286, 52%, 73%)
HSVhsv(286, 32%, 87%)
CMYKcmyk(7.2%, 32%, 0%, 12.9%)
CIE-LABlab(69.85, 32.80, -28.07)
CIE-LCHlch(69.85, 43.17, 319.45°)
OKLaboklab(75.31% 0.0865 -0.0766)
OKLCHoklch(75.31% 0.116 318.5)
XYZxyz(49.7032, 40.5301, 74.2979)
Luminance0.4053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE97DE #A7DE97
analogous
#AA97DE #CE97DE #DE97CA
triadic
#CE97DE #DECE97 #97DECE
tetradic
#CE97DE #DEAA97 #A7DE97 #97CADE
square
#CE97DE #DEAA97 #A7DE97 #97CADE
split-complementary
#CE97DE #CADE97 #97DEAA
monochromatic
#A13CBE #B869CF #CE97DE #E4C5ED #F4E8F8

Accessibility & contrast

On white

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

On black

9.11
#CE97DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE97DE
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE97DE#FFFFFF#000000##000000
##CE97DE1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA7E1
Deuteranopia (green-blind)
#9BADDC
Tritanopia (blue-blind)
#CE9FB1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ce97de;
/* rgb */ color: rgb(206, 151, 222);
/* oklch */ color: oklch(75.3% 0.116 318.5);
Tailwind
colors: {
  custom: {
    50: '#deb6e8',
    500: '#ce97de',
    950: '#000000',
  },
}
SCSS
$custom: #ce97de;
$custom-light: #deb6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ce97de",
  "rgb": {
    "r": 206,
    "g": 151,
    "b": 222
  },
  "hsl": {
    "h": 286.479,
    "s": 51.825,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75306,
    "c": 0.11558,
    "h": 318.5
  },
  "luminance": 0.40529
}

Semantic roles & 50–950 ramp

primary
#CE97DE
secondary
#E0EFDC
accent
#BF2649
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CE97DE

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

Preview Lab → · Contrast checker → · Palette generator →

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