#CE97C8#CE97C8

#CE97C8 is a light, moderate purple. Relative luminance 0.394; OKLCH L 74.4% C 0.092 H 330.2°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#CE97C8
RGBrgb(206, 151, 200)
HSLhsl(307, 36%, 70%)
HSVhsv(307, 27%, 81%)
CMYKcmyk(0%, 26.7%, 2.9%, 19.2%)
CIE-LABlab(69.06, 28.60, -17.10)
CIE-LCHlch(69.06, 33.32, 329.12°)
OKLaboklab(74.45% 0.0803 -0.0459)
OKLCHoklch(74.45% 0.093 330.2)
XYZxyz(46.9447, 39.4267, 59.7696)
Luminance0.3942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE97C8 #97CE9D
analogous
#B897CE #CE97C8 #CE97AD
triadic
#CE97C8 #C8CE97 #97C8CE
tetradic
#CE97C8 #CEB897 #97CE9D #97ADCE
square
#CE97C8 #CEB897 #97CE9D #97ADCE
split-complementary
#CE97C8 #ADCE97 #97CEB8
monochromatic
#9F4B96 #BA6DB2 #CE97C8 #E2C1DE #F5EAF4

Accessibility & contrast

On white

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

On black

8.89
#CE97C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE97C8
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE97C8#FFFFFF#000000##000000
##CE97C81.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A4CA
Deuteranopia (green-blind)
#A2ABC6
Tritanopia (blue-blind)
#D29AA8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ce97c8;
/* rgb */ color: rgb(206, 151, 200);
/* oklch */ color: oklch(74.4% 0.092 330.2);
Tailwind
colors: {
  custom: {
    50: '#ddb6d8',
    500: '#ce97c8',
    950: '#000000',
  },
}
SCSS
$custom: #ce97c8;
$custom-light: #ddb6d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ce97c8",
  "rgb": {
    "r": 206,
    "g": 151,
    "b": 200
  },
  "hsl": {
    "h": 306.545,
    "s": 35.948,
    "l": 70
  },
  "oklch": {
    "l": 0.74447,
    "c": 0.0925,
    "h": 330.2
  },
  "luminance": 0.39425
}

Semantic roles & 50–950 ramp

primary
#CE97C8
secondary
#D9E8DA
accent
#AF4437
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CE97C8

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

Preview Lab → · Contrast checker → · Palette generator →

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