#CE97FB#CE97FB

#CE97FB is a light, vivid violet. Relative luminance 0.422; OKLCH L 76.6% C 0.149 H 308.5°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#CE97FB
RGBrgb(206, 151, 251)
HSLhsl(273, 93%, 79%)
HSVhsv(273, 40%, 98%)
CMYKcmyk(17.9%, 39.8%, 0%, 1.6%)
CIE-LABlab(71.02, 38.84, -42.11)
CIE-LCHlch(71.02, 57.28, 312.69°)
OKLaboklab(76.59% 0.093 -0.1168)
OKLCHoklch(76.59% 0.149 308.5)
XYZxyz(53.9295, 42.2207, 96.5565)
Luminance0.4222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE97FB #C4FB97
analogous
#9C97FB #CE97FB #FB97F6
triadic
#CE97FB #FBCE97 #97FBCE
tetradic
#CE97FB #FB9C97 #C4FB97 #97F6FB
square
#CE97FB #FB9C97 #C4FB97 #97F6FB
split-complementary
#CE97FB #F6FB97 #97FB9C
monochromatic
#9621F6 #B25CF9 #CE97FB #EAD2FD #F1E2FE

Accessibility & contrast

On white

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

On black

9.44
#CE97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE97FB
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE97FB#FFFFFF#000000##000000
##CE97FB1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ABFF
Deuteranopia (green-blind)
#8FAFF8
Tritanopia (blue-blind)
#C8A6BD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ce97fb;
/* rgb */ color: rgb(206, 151, 251);
/* oklch */ color: oklch(76.6% 0.149 308.5);
Tailwind
colors: {
  custom: {
    50: '#deb6fd',
    500: '#ce97fb',
    950: '#000000',
  },
}
SCSS
$custom: #ce97fb;
$custom-light: #deb6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce97fb",
  "rgb": {
    "r": 206,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 273,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76585,
    "c": 0.14928,
    "h": 308.5
  },
  "luminance": 0.4222
}

Semantic roles & 50–950 ramp

primary
#CE97FB
secondary
#E4F6D5
accent
#E60067
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CE97FB

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

Preview Lab → · Contrast checker → · Palette generator →

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