#CE97DF#CE97DF

#CE97DF is a light, moderate purple. Relative luminance 0.406; OKLCH L 75.3% C 0.117 H 318.0°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#CE97DF
RGBrgb(206, 151, 223)
HSLhsl(286, 53%, 73%)
HSVhsv(286, 32%, 87%)
CMYKcmyk(7.6%, 32.3%, 0%, 12.5%)
CIE-LABlab(69.88, 33.00, -28.56)
CIE-LCHlch(69.88, 43.64, 319.13°)
OKLaboklab(75.35% 0.0868 -0.078)
OKLCHoklch(75.35% 0.117 318)
XYZxyz(49.8376, 40.5839, 75.0059)
Luminance0.4058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE97DF #A8DF97
analogous
#AA97DF #CE97DF #DF97CC
triadic
#CE97DF #DFCE97 #97DFCE
tetradic
#CE97DF #DFAA97 #A8DF97 #97CCDF
square
#CE97DF #DFAA97 #A8DF97 #97CCDF
split-complementary
#CE97DF #CCDF97 #97DFAA
monochromatic
#A13BC0 #B868D1 #CE97DF #E4C6ED #F4E8F8

Accessibility & contrast

On white

2.30
#CE97DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#CE97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE97DF
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE97DF#FFFFFF#000000##000000
##CE97DF1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA7E2
Deuteranopia (green-blind)
#9AADDD
Tritanopia (blue-blind)
#CE9FB1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ce97df;
/* rgb */ color: rgb(206, 151, 223);
/* oklch */ color: oklch(75.3% 0.117 318.0);
Tailwind
colors: {
  custom: {
    50: '#deb6e9',
    500: '#ce97df',
    950: '#000000',
  },
}
SCSS
$custom: #ce97df;
$custom-light: #deb6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ce97df",
  "rgb": {
    "r": 206,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 285.833,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75348,
    "c": 0.1167,
    "h": 318
  },
  "luminance": 0.40583
}

Semantic roles & 50–950 ramp

primary
#CE97DF
secondary
#E1EFDC
accent
#C0254A
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CE97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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