#CE97ED#CE97ED

#CE97ED is a light, vivid violet. Relative luminance 0.414; OKLCH L 75.9% C 0.133 H 312.8°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#CE97ED
RGBrgb(206, 151, 237)
HSLhsl(278, 70%, 76%)
HSVhsv(278, 36%, 93%)
CMYKcmyk(13.1%, 36.3%, 0%, 7.1%)
CIE-LABlab(70.43, 35.86, -35.39)
CIE-LCHlch(70.43, 50.38, 315.38°)
OKLaboklab(75.95% 0.0901 -0.0975)
OKLCHoklch(75.95% 0.133 312.8)
XYZxyz(51.8037, 41.3704, 85.3606)
Luminance0.4137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE97ED #B6ED97
analogous
#A397ED #CE97ED #ED97E1
triadic
#CE97ED #EDCE97 #97EDCE
tetradic
#CE97ED #EDA397 #B6ED97 #97E1ED
square
#CE97ED #EDA397 #B6ED97 #97E1ED
split-complementary
#CE97ED #E1ED97 #97EDA3
monochromatic
#9D2FDB #B563E4 #CE97ED #E7CBF6 #F3E5FA

Accessibility & contrast

On white

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

On black

9.27
#CE97ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE97ED
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE97ED#FFFFFF#000000##000000
##CE97ED1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9F0
Deuteranopia (green-blind)
#95AEEA
Tritanopia (blue-blind)
#CBA3B7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ce97ed;
/* rgb */ color: rgb(206, 151, 237);
/* oklch */ color: oklch(75.9% 0.133 312.8);
Tailwind
colors: {
  custom: {
    50: '#deb6f3',
    500: '#ce97ed',
    950: '#000000',
  },
}
SCSS
$custom: #ce97ed;
$custom-light: #deb6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ce97ed",
  "rgb": {
    "r": 206,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 278.372,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75947,
    "c": 0.13275,
    "h": 312.8
  },
  "luminance": 0.41369
}

Semantic roles & 50–950 ramp

primary
#CE97ED
secondary
#E2F2D9
accent
#D31358
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CE97ED

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

Preview Lab → · Contrast checker → · Palette generator →

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