#CE97CC#CE97CC

#CE97CC is a light, moderate purple. Relative luminance 0.396; OKLCH L 74.6% C 0.096 H 327.7°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#CE97CC
RGBrgb(206, 151, 204)
HSLhsl(302, 36%, 70%)
HSVhsv(302, 27%, 81%)
CMYKcmyk(0%, 26.7%, 1%, 19.2%)
CIE-LABlab(69.20, 29.34, -19.12)
CIE-LCHlch(69.20, 35.02, 326.91°)
OKLaboklab(74.6% 0.0815 -0.0515)
OKLCHoklch(74.6% 0.096 327.7)
XYZxyz(47.4183, 39.6162, 62.2639)
Luminance0.3962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE97CC #97CE99
analogous
#B597CE #CE97CC #CE97B0
triadic
#CE97CC #CCCE97 #97CCCE
tetradic
#CE97CC #CEB597 #97CE99 #97B0CE
square
#CE97CC #CEB597 #97CE99 #97B0CE
split-complementary
#CE97CC #B0CE97 #97CEB5
monochromatic
#9F4B9C #BA6DB8 #CE97CC #E2C1E0 #F5EAF5

Accessibility & contrast

On white

2.35
#CE97CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#CE97CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE97CC
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE97CC#FFFFFF#000000##000000
##CE97CC1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A5CE
Deuteranopia (green-blind)
#A1ABCA
Tritanopia (blue-blind)
#D29BAA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ce97cc;
/* rgb */ color: rgb(206, 151, 204);
/* oklch */ color: oklch(74.6% 0.096 327.7);
Tailwind
colors: {
  custom: {
    50: '#ddb6db',
    500: '#ce97cc',
    950: '#000000',
  },
}
SCSS
$custom: #ce97cc;
$custom-light: #ddb6db;
$custom-dark: #000000;
JSON
{
  "hex": "#ce97cc",
  "rgb": {
    "r": 206,
    "g": 151,
    "b": 204
  },
  "hsl": {
    "h": 302.182,
    "s": 35.948,
    "l": 70
  },
  "oklch": {
    "l": 0.74596,
    "c": 0.09642,
    "h": 327.7
  },
  "luminance": 0.39615
}

Semantic roles & 50–950 ramp

primary
#CE97CC
secondary
#D9E8D9
accent
#AF3B37
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CE97CC

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

Preview Lab → · Contrast checker → · Palette generator →

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