#CE97EB#CE97EB

#CE97EB is a light, vivid violet. Relative luminance 0.413; OKLCH L 75.9% C 0.130 H 313.4°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#CE97EB
RGBrgb(206, 151, 235)
HSLhsl(279, 68%, 76%)
HSVhsv(279, 36%, 92%)
CMYKcmyk(12.3%, 35.7%, 0%, 7.8%)
CIE-LABlab(70.35, 35.45, -34.42)
CIE-LCHlch(70.35, 49.41, 315.84°)
OKLaboklab(75.86% 0.0897 -0.0947)
OKLCHoklch(75.86% 0.13 313.4)
XYZxyz(51.5132, 41.2541, 83.8303)
Luminance0.4125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE97EB #B4EB97
analogous
#A497EB #CE97EB #EB97DE
triadic
#CE97EB #EBCE97 #97EBCE
tetradic
#CE97EB #EBA497 #B4EB97 #97DEEB
square
#CE97EB #EBA497 #B4EB97 #97DEEB
split-complementary
#CE97EB #DEEB97 #97EBA4
monochromatic
#9E30D7 #B664E1 #CE97EB #E6CAF5 #F3E5FA

Accessibility & contrast

On white

2.27
#CE97EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#CE97EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE97EB
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE97EB#FFFFFF#000000##000000
##CE97EB1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9EE
Deuteranopia (green-blind)
#96ADE9
Tritanopia (blue-blind)
#CCA2B6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ce97eb;
/* rgb */ color: rgb(206, 151, 235);
/* oklch */ color: oklch(75.9% 0.130 313.4);
Tailwind
colors: {
  custom: {
    50: '#deb6f1',
    500: '#ce97eb',
    950: '#000000',
  },
}
SCSS
$custom: #ce97eb;
$custom-light: #deb6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce97eb",
  "rgb": {
    "r": 206,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 279.286,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75859,
    "c": 0.13042,
    "h": 313.4
  },
  "luminance": 0.41253
}

Semantic roles & 50–950 ramp

primary
#CE97EB
secondary
#E2F2D9
accent
#D01656
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CE97EB

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

Preview Lab → · Contrast checker → · Palette generator →

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