#CE97CB#CE97CB

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

Color values

HEX#CE97CB
RGBrgb(206, 151, 203)
HSLhsl(303, 36%, 70%)
HSVhsv(303, 27%, 81%)
CMYKcmyk(0%, 26.7%, 1.5%, 19.2%)
CIE-LABlab(69.16, 29.15, -18.61)
CIE-LCHlch(69.16, 34.59, 327.44°)
OKLaboklab(74.56% 0.0812 -0.0501)
OKLCHoklch(74.56% 0.095 328.3)
XYZxyz(47.2987, 39.5684, 61.6343)
Luminance0.3957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE97CB #97CE9A
analogous
#B697CE #CE97CB #CE97AF
triadic
#CE97CB #CBCE97 #97CBCE
tetradic
#CE97CB #CEB697 #97CE9A #97AFCE
square
#CE97CB #CEB697 #97CE9A #97AFCE
split-complementary
#CE97CB #AFCE97 #97CEB6
monochromatic
#9F4B9B #BA6DB6 #CE97CB #E2C1E0 #F5EAF5

Accessibility & contrast

On white

2.36
#CE97CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#CE97CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE97CB
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE97CB#FFFFFF#000000##000000
##CE97CB1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A4CD
Deuteranopia (green-blind)
#A1ABC9
Tritanopia (blue-blind)
#D29BA9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ce97cb;
/* rgb */ color: rgb(206, 151, 203);
/* oklch */ color: oklch(74.6% 0.095 328.3);
Tailwind
colors: {
  custom: {
    50: '#ddb6db',
    500: '#ce97cb',
    950: '#000000',
  },
}
SCSS
$custom: #ce97cb;
$custom-light: #ddb6db;
$custom-dark: #000000;
JSON
{
  "hex": "#ce97cb",
  "rgb": {
    "r": 206,
    "g": 151,
    "b": 203
  },
  "hsl": {
    "h": 303.273,
    "s": 35.948,
    "l": 70
  },
  "oklch": {
    "l": 0.74559,
    "c": 0.09542,
    "h": 328.3
  },
  "luminance": 0.39567
}

Semantic roles & 50–950 ramp

primary
#CE97CB
secondary
#D9E8DA
accent
#AF3D37
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151115
muted
#838083

Preview Lab

Preview with #CE97CB

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

Preview Lab → · Contrast checker → · Palette generator →

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