#CE97EA#CE97EA

#CE97EA is a light, vivid violet. Relative luminance 0.412; OKLCH L 75.8% C 0.129 H 313.8°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#CE97EA
RGBrgb(206, 151, 234)
HSLhsl(280, 66%, 75%)
HSVhsv(280, 35%, 92%)
CMYKcmyk(12%, 35.5%, 0%, 8.2%)
CIE-LABlab(70.31, 35.24, -33.94)
CIE-LCHlch(70.31, 48.92, 316.08°)
OKLaboklab(75.82% 0.0895 -0.0933)
OKLCHoklch(75.82% 0.129 313.8)
XYZxyz(51.3691, 41.1965, 83.0716)
Luminance0.4120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE97EA #B3EA97
analogous
#A497EA #CE97EA #EA97DC
triadic
#CE97EA #EACE97 #97EACE
tetradic
#CE97EA #EAA497 #B3EA97 #97DCEA
square
#CE97EA #EAA497 #B3EA97 #97DCEA
split-complementary
#CE97EA #DCEA97 #97EAA4
monochromatic
#9E31D5 #B664E0 #CE97EA #E6CAF4 #F3E6FA

Accessibility & contrast

On white

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

On black

9.24
#CE97EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE97EA
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE97EA#FFFFFF#000000##000000
##CE97EA1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ce97ea;
/* rgb */ color: rgb(206, 151, 234);
/* oklch */ color: oklch(75.8% 0.129 313.8);
Tailwind
colors: {
  custom: {
    50: '#deb6f1',
    500: '#ce97ea',
    950: '#000000',
  },
}
SCSS
$custom: #ce97ea;
$custom-light: #deb6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce97ea",
  "rgb": {
    "r": 206,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 279.759,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75816,
    "c": 0.12927,
    "h": 313.8
  },
  "luminance": 0.41196
}

Semantic roles & 50–950 ramp

primary
#CE97EA
secondary
#E2F1DA
accent
#CE1755
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CE97EA

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

Preview Lab → · Contrast checker → · Palette generator →

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