#CE97F7#CE97F7

#CE97F7 is a light, vivid violet. Relative luminance 0.420; OKLCH L 76.4% C 0.145 H 309.7°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#CE97F7
RGBrgb(206, 151, 247)
HSLhsl(274, 86%, 78%)
HSVhsv(274, 39%, 97%)
CMYKcmyk(16.6%, 38.9%, 0%, 3.1%)
CIE-LABlab(70.85, 37.98, -40.20)
CIE-LCHlch(70.85, 55.30, 313.37°)
OKLaboklab(76.4% 0.0922 -0.1113)
OKLCHoklch(76.4% 0.145 309.7)
XYZxyz(53.3056, 41.9711, 93.2707)
Luminance0.4197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE97F7 #C0F797
analogous
#9E97F7 #CE97F7 #F797F0
triadic
#CE97F7 #F7CE97 #97F7CE
tetradic
#CE97F7 #F79E97 #C0F797 #97F0F7
square
#CE97F7 #F79E97 #C0F797 #97F0F7
split-complementary
#CE97F7 #F0F797 #97F79E
monochromatic
#9825EE #B35EF3 #CE97F7 #E9D0FB #F2E3FD

Accessibility & contrast

On white

2.24
#CE97F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#CE97F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE97F7
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE97F7#FFFFFF#000000##000000
##CE97F71.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ABFB
Deuteranopia (green-blind)
#91AEF4
Tritanopia (blue-blind)
#C9A5BB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ce97f7;
/* rgb */ color: rgb(206, 151, 247);
/* oklch */ color: oklch(76.4% 0.145 309.7);
Tailwind
colors: {
  custom: {
    50: '#deb6fa',
    500: '#ce97f7',
    950: '#000000',
  },
}
SCSS
$custom: #ce97f7;
$custom-light: #deb6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ce97f7",
  "rgb": {
    "r": 206,
    "g": 151,
    "b": 247
  },
  "hsl": {
    "h": 274.375,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.76399,
    "c": 0.14452,
    "h": 309.7
  },
  "luminance": 0.4197
}

Semantic roles & 50–950 ramp

primary
#CE97F7
secondary
#E3F5D6
accent
#E20362
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CE97F7

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

Preview Lab → · Contrast checker → · Palette generator →

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