#CE97DC#CE97DC

#CE97DC is a light, moderate purple. Relative luminance 0.404; OKLCH L 75.2% C 0.113 H 319.3°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#CE97DC
RGBrgb(206, 151, 220)
HSLhsl(288, 50%, 73%)
HSVhsv(288, 31%, 86%)
CMYKcmyk(6.4%, 31.4%, 0%, 13.7%)
CIE-LABlab(69.77, 32.41, -27.08)
CIE-LCHlch(69.77, 42.23, 320.12°)
OKLaboklab(75.22% 0.086 -0.0739)
OKLCHoklch(75.22% 0.113 319.3)
XYZxyz(49.4367, 40.4236, 72.8946)
Luminance0.4042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE97DC #A5DC97
analogous
#AB97DC #CE97DC #DC97C7
triadic
#CE97DC #DCCE97 #97DCCE
tetradic
#CE97DC #DCAB97 #A5DC97 #97C7DC
square
#CE97DC #DCAB97 #A5DC97 #97C7DC
split-complementary
#CE97DC #C7DC97 #97DCAB
monochromatic
#A13FBA #B869CD #CE97DC #E4C5EB #F4E8F7

Accessibility & contrast

On white

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

On black

9.08
#CE97DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE97DC
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE97DC#FFFFFF#000000##000000
##CE97DC1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA7DF
Deuteranopia (green-blind)
#9BACDA
Tritanopia (blue-blind)
#CF9FB0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ce97dc;
/* rgb */ color: rgb(206, 151, 220);
/* oklch */ color: oklch(75.2% 0.113 319.3);
Tailwind
colors: {
  custom: {
    50: '#deb6e7',
    500: '#ce97dc',
    950: '#000000',
  },
}
SCSS
$custom: #ce97dc;
$custom-light: #deb6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ce97dc",
  "rgb": {
    "r": 206,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 287.826,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75224,
    "c": 0.11336,
    "h": 319.3
  },
  "luminance": 0.40422
}

Semantic roles & 50–950 ramp

primary
#CE97DC
secondary
#E0EEDD
accent
#BD2947
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CE97DC

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

Preview Lab → · Contrast checker → · Palette generator →

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