#CE97EE#CE97EE

#CE97EE is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.0% C 0.134 H 312.4°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#CE97EE
RGBrgb(206, 151, 238)
HSLhsl(278, 72%, 76%)
HSVhsv(278, 37%, 93%)
CMYKcmyk(13.4%, 36.6%, 0%, 6.7%)
CIE-LABlab(70.48, 36.07, -35.87)
CIE-LCHlch(70.48, 50.87, 315.16°)
OKLaboklab(75.99% 0.0904 -0.0988)
OKLCHoklch(75.99% 0.134 312.4)
XYZxyz(51.9502, 41.4290, 86.1322)
Luminance0.4143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE97EE #B7EE97
analogous
#A397EE #CE97EE #EE97E3
triadic
#CE97EE #EECE97 #97EECE
tetradic
#CE97EE #EEA397 #B7EE97 #97E3EE
square
#CE97EE #EEA397 #B7EE97 #97E3EE
split-complementary
#CE97EE #E3EE97 #97EEA3
monochromatic
#9C2EDD #B562E5 #CE97EE #E7CCF7 #F3E5FB

Accessibility & contrast

On white

2.26
#CE97EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#CE97EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE97EE
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE97EE#FFFFFF#000000##000000
##CE97EE1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9F1
Deuteranopia (green-blind)
#94AEEB
Tritanopia (blue-blind)
#CBA3B8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ce97ee;
/* rgb */ color: rgb(206, 151, 238);
/* oklch */ color: oklch(76.0% 0.134 312.4);
Tailwind
colors: {
  custom: {
    50: '#deb6f4',
    500: '#ce97ee',
    950: '#000000',
  },
}
SCSS
$custom: #ce97ee;
$custom-light: #deb6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce97ee",
  "rgb": {
    "r": 206,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 277.931,
    "s": 71.901,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75992,
    "c": 0.13392,
    "h": 312.4
  },
  "luminance": 0.41428
}

Semantic roles & 50–950 ramp

primary
#CE97EE
secondary
#E2F2D9
accent
#D41259
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CE97EE

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

Preview Lab → · Contrast checker → · Palette generator →

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