#CE97CD#CE97CD

#CE97CD is a light, moderate purple. Relative luminance 0.397; OKLCH L 74.6% C 0.097 H 327.1°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#CE97CD
RGBrgb(206, 151, 205)
HSLhsl(301, 36%, 70%)
HSVhsv(301, 27%, 81%)
CMYKcmyk(0%, 26.7%, 0.5%, 19.2%)
CIE-LABlab(69.23, 29.52, -19.62)
CIE-LCHlch(69.23, 35.45, 326.39°)
OKLaboklab(74.63% 0.0818 -0.0529)
OKLCHoklch(74.63% 0.097 327.1)
XYZxyz(47.5386, 39.6643, 62.8976)
Luminance0.3966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE97CD #97CE98
analogous
#B497CE #CE97CD #CE97B1
triadic
#CE97CD #CDCE97 #97CDCE
tetradic
#CE97CD #CEB497 #97CE98 #97B1CE
square
#CE97CD #CEB497 #97CE98 #97B1CE
split-complementary
#CE97CD #B1CE97 #97CEB4
monochromatic
#9F4B9E #BA6DB9 #CE97CD #E2C1E1 #F5EAF5

Accessibility & contrast

On white

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

On black

8.93
#CE97CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE97CD
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE97CD#FFFFFF#000000##000000
##CE97CD1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ce97cd;
/* rgb */ color: rgb(206, 151, 205);
/* oklch */ color: oklch(74.6% 0.097 327.1);
Tailwind
colors: {
  custom: {
    50: '#ddb6dc',
    500: '#ce97cd',
    950: '#000000',
  },
}
SCSS
$custom: #ce97cd;
$custom-light: #ddb6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ce97cd",
  "rgb": {
    "r": 206,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 301.091,
    "s": 35.948,
    "l": 70
  },
  "oklch": {
    "l": 0.74634,
    "c": 0.09742,
    "h": 327.1
  },
  "luminance": 0.39663
}

Semantic roles & 50–950 ramp

primary
#CE97CD
secondary
#D9E8D9
accent
#AF3937
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CE97CD

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

Preview Lab → · Contrast checker → · Palette generator →

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