#CE97FD#CE97FD

#CE97FD is a light, vivid violet. Relative luminance 0.423; OKLCH L 76.7% C 0.152 H 308.0°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#CE97FD
RGBrgb(206, 151, 253)
HSLhsl(272, 96%, 79%)
HSVhsv(272, 40%, 99%)
CMYKcmyk(18.6%, 40.3%, 0%, 0.8%)
CIE-LABlab(71.11, 39.27, -43.06)
CIE-LCHlch(71.11, 58.28, 312.37°)
OKLaboklab(76.68% 0.0934 -0.1195)
OKLCHoklch(76.68% 0.152 308)
XYZxyz(54.2464, 42.3474, 98.2256)
Luminance0.4235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE97FD #C6FD97
analogous
#9B97FD #CE97FD #FD97F9
triadic
#CE97FD #FDCE97 #97FDCE
tetradic
#CE97FD #FD9B97 #C6FD97 #97F9FD
square
#CE97FD #FD9B97 #C6FD97 #97F9FD
split-complementary
#CE97FD #F9FD97 #97FD9B
monochromatic
#951FFB #B25BFC #CE97FD #EAD3FE #F1E1FE

Accessibility & contrast

On white

2.22
#CE97FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#CE97FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE97FD
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE97FD#FFFFFF#000000##000000
##CE97FD1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ACFF
Deuteranopia (green-blind)
#8EAFFA
Tritanopia (blue-blind)
#C8A7BE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ce97fd;
/* rgb */ color: rgb(206, 151, 253);
/* oklch */ color: oklch(76.7% 0.152 308.0);
Tailwind
colors: {
  custom: {
    50: '#deb6fe',
    500: '#ce97fd',
    950: '#000000',
  },
}
SCSS
$custom: #ce97fd;
$custom-light: #deb6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ce97fd",
  "rgb": {
    "r": 206,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 272.353,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76679,
    "c": 0.15166,
    "h": 308
  },
  "luminance": 0.42347
}

Semantic roles & 50–950 ramp

primary
#CE97FD
secondary
#E4F7D4
accent
#E6006A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CE97FD

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

Preview Lab → · Contrast checker → · Palette generator →

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