#CE97DB#CE97DB

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

Color values

HEX#CE97DB
RGBrgb(206, 151, 219)
HSLhsl(289, 49%, 73%)
HSVhsv(289, 31%, 86%)
CMYKcmyk(5.9%, 31.1%, 0%, 14.1%)
CIE-LABlab(69.73, 32.21, -26.59)
CIE-LCHlch(69.73, 41.77, 320.46°)
OKLaboklab(75.18% 0.0857 -0.0725)
OKLCHoklch(75.18% 0.112 319.8)
XYZxyz(49.3047, 40.3708, 72.1992)
Luminance0.4037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE97DB #A4DB97
analogous
#AC97DB #CE97DB #DB97C6
triadic
#CE97DB #DBCE97 #97DBCE
tetradic
#CE97DB #DBAC97 #A4DB97 #97C6DB
square
#CE97DB #DBAC97 #A4DB97 #97C6DB
split-complementary
#CE97DB #C6DB97 #97DBAC
monochromatic
#A140B8 #B96ACB #CE97DB #E3C4EB #F4E8F7

Accessibility & contrast

On white

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

On black

9.07
#CE97DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE97DB
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE97DB#FFFFFF#000000##000000
##CE97DB1.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA7DE
Deuteranopia (green-blind)
#9CACD9
Tritanopia (blue-blind)
#CF9EB0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ce97db;
/* rgb */ color: rgb(206, 151, 219);
/* oklch */ color: oklch(75.2% 0.112 319.8);
Tailwind
colors: {
  custom: {
    50: '#deb6e6',
    500: '#ce97db',
    950: '#000000',
  },
}
SCSS
$custom: #ce97db;
$custom-light: #deb6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ce97db",
  "rgb": {
    "r": 206,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 288.529,
    "s": 48.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75183,
    "c": 0.11225,
    "h": 319.8
  },
  "luminance": 0.4037
}

Semantic roles & 50–950 ramp

primary
#CE97DB
secondary
#E0EEDD
accent
#BC2A46
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CE97DB

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

Preview Lab → · Contrast checker → · Palette generator →

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