#CE97FF#CE97FF

#CE97FF is a light, vivid violet. Relative luminance 0.425; OKLCH L 76.8% C 0.154 H 307.5°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#CE97FF
RGBrgb(206, 151, 255)
HSLhsl(272, 100%, 80%)
HSVhsv(272, 41%, 100%)
CMYKcmyk(19.2%, 40.8%, 0%, 0%)
CIE-LABlab(71.20, 39.71, -44.01)
CIE-LCHlch(71.20, 59.27, 312.06°)
OKLaboklab(76.77% 0.0938 -0.1222)
OKLCHoklch(76.77% 0.154 307.5)
XYZxyz(54.5667, 42.4755, 99.9123)
Luminance0.4248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE97FF #C8FF97
analogous
#9A97FF #CE97FF #FF97FC
triadic
#CE97FF #FFCE97 #97FFCE
tetradic
#CE97FF #FF9A97 #C8FF97 #97FCFF
square
#CE97FF #FF9A97 #C8FF97 #97FCFF
split-complementary
#CE97FF #FCFF97 #97FF9A
monochromatic
#941DFF #B15AFF #CE97FF #EBD4FF #F1E0FF

Accessibility & contrast

On white

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

On black

9.49
#CE97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE97FF
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE97FF#FFFFFF#000000##000000
##CE97FF1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ce97ff;
/* rgb */ color: rgb(206, 151, 255);
/* oklch */ color: oklch(76.8% 0.154 307.5);
Tailwind
colors: {
  custom: {
    50: '#deb6ff',
    500: '#ce97ff',
    950: '#000000',
  },
}
SCSS
$custom: #ce97ff;
$custom-light: #deb6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ce97ff",
  "rgb": {
    "r": 206,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 271.731,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.76774,
    "c": 0.15405,
    "h": 307.5
  },
  "luminance": 0.42475
}

Semantic roles & 50–950 ramp

primary
#CE97FF
secondary
#E4F7D4
accent
#E6006C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CE97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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