#CE97FE#CE97FE

#CE97FE is a light, vivid violet. Relative luminance 0.424; OKLCH L 76.7% C 0.153 H 307.7°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#CE97FE
RGBrgb(206, 151, 254)
HSLhsl(272, 98%, 79%)
HSVhsv(272, 41%, 100%)
CMYKcmyk(18.9%, 40.6%, 0%, 0.4%)
CIE-LABlab(71.15, 39.49, -43.53)
CIE-LCHlch(71.15, 58.78, 312.21°)
OKLaboklab(76.73% 0.0936 -0.1209)
OKLCHoklch(76.73% 0.153 307.7)
XYZxyz(54.4061, 42.4113, 99.0668)
Luminance0.4241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE97FE #C7FE97
analogous
#9B97FE #CE97FE #FE97FA
triadic
#CE97FE #FECE97 #97FECE
tetradic
#CE97FE #FE9B97 #C7FE97 #97FAFE
square
#CE97FE #FE9B97 #C7FE97 #97FAFE
split-complementary
#CE97FE #FAFE97 #97FE9B
monochromatic
#951EFD #B15AFD #CE97FE #EBD4FF #F1E1FF

Accessibility & contrast

On white

2.21
#CE97FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#CE97FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE97FE
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE97FE#FFFFFF#000000##000000
##CE97FE1.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ACFF
Deuteranopia (green-blind)
#8DAFFB
Tritanopia (blue-blind)
#C7A7BF
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ce97fe;
/* rgb */ color: rgb(206, 151, 254);
/* oklch */ color: oklch(76.7% 0.153 307.7);
Tailwind
colors: {
  custom: {
    50: '#deb6ff',
    500: '#ce97fe',
    950: '#000000',
  },
}
SCSS
$custom: #ce97fe;
$custom-light: #deb6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ce97fe",
  "rgb": {
    "r": 206,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 272.039,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.76727,
    "c": 0.15286,
    "h": 307.7
  },
  "luminance": 0.42411
}

Semantic roles & 50–950 ramp

primary
#CE97FE
secondary
#E4F7D4
accent
#E6006B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CE97FE

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

Preview Lab → · Contrast checker → · Palette generator →

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