#CE97CA#CE97CA

#CE97CA is a light, moderate purple. Relative luminance 0.395; OKLCH L 74.5% C 0.094 H 328.9°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#CE97CA
RGBrgb(206, 151, 202)
HSLhsl(304, 36%, 70%)
HSVhsv(304, 27%, 81%)
CMYKcmyk(0%, 26.7%, 1.9%, 19.2%)
CIE-LABlab(69.13, 28.97, -18.11)
CIE-LCHlch(69.13, 34.16, 327.98°)
OKLaboklab(74.52% 0.0809 -0.0487)
OKLCHoklch(74.52% 0.094 328.9)
XYZxyz(47.1799, 39.5208, 61.0087)
Luminance0.3952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE97CA #97CE9B
analogous
#B797CE #CE97CA #CE97AE
triadic
#CE97CA #CACE97 #97CACE
tetradic
#CE97CA #CEB797 #97CE9B #97AECE
square
#CE97CA #CEB797 #97CE9B #97AECE
split-complementary
#CE97CA #AECE97 #97CEB7
monochromatic
#9F4B99 #BA6DB5 #CE97CA #E2C1DF #F5EAF4

Accessibility & contrast

On white

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

On black

8.90
#CE97CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE97CA
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE97CA#FFFFFF#000000##000000
##CE97CA1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A4CC
Deuteranopia (green-blind)
#A1ABC8
Tritanopia (blue-blind)
#D29BA9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ce97ca;
/* rgb */ color: rgb(206, 151, 202);
/* oklch */ color: oklch(74.5% 0.094 328.9);
Tailwind
colors: {
  custom: {
    50: '#ddb6da',
    500: '#ce97ca',
    950: '#000000',
  },
}
SCSS
$custom: #ce97ca;
$custom-light: #ddb6da;
$custom-dark: #000000;
JSON
{
  "hex": "#ce97ca",
  "rgb": {
    "r": 206,
    "g": 151,
    "b": 202
  },
  "hsl": {
    "h": 304.364,
    "s": 35.948,
    "l": 70
  },
  "oklch": {
    "l": 0.74521,
    "c": 0.09444,
    "h": 328.9
  },
  "luminance": 0.39519
}

Semantic roles & 50–950 ramp

primary
#CE97CA
secondary
#D9E8DA
accent
#AF3F37
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CE97CA

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

Preview Lab → · Contrast checker → · Palette generator →

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