#CE97F8#CE97F8

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

Color values

HEX#CE97F8
RGBrgb(206, 151, 248)
HSLhsl(274, 87%, 78%)
HSVhsv(274, 39%, 97%)
CMYKcmyk(16.9%, 39.1%, 0%, 2.7%)
CIE-LABlab(70.89, 38.19, -40.68)
CIE-LCHlch(70.89, 55.80, 313.19°)
OKLaboklab(76.44% 0.0924 -0.1126)
OKLCHoklch(76.44% 0.146 309.4)
XYZxyz(53.4604, 42.0330, 94.0856)
Luminance0.4203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE97F8 #C1F897
analogous
#9D97F8 #CE97F8 #F897F1
triadic
#CE97F8 #F8CE97 #97F8CE
tetradic
#CE97F8 #F89D97 #C1F897 #97F1F8
square
#CE97F8 #F89D97 #C1F897 #97F1F8
split-complementary
#CE97F8 #F1F897 #97F89D
monochromatic
#9824F0 #B35EF4 #CE97F8 #E9D0FC #F1E2FD

Accessibility & contrast

On white

2.23
#CE97F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#CE97F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE97F8
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE97F8#FFFFFF#000000##000000
##CE97F81.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ABFC
Deuteranopia (green-blind)
#90AEF5
Tritanopia (blue-blind)
#C9A5BC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ce97f8;
/* rgb */ color: rgb(206, 151, 248);
/* oklch */ color: oklch(76.4% 0.146 309.4);
Tailwind
colors: {
  custom: {
    50: '#deb6fb',
    500: '#ce97f8',
    950: '#000000',
  },
}
SCSS
$custom: #ce97f8;
$custom-light: #deb6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ce97f8",
  "rgb": {
    "r": 206,
    "g": 151,
    "b": 248
  },
  "hsl": {
    "h": 274.021,
    "s": 87.387,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76445,
    "c": 0.14571,
    "h": 309.4
  },
  "luminance": 0.42032
}

Semantic roles & 50–950 ramp

primary
#CE97F8
secondary
#E3F5D6
accent
#E40264
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CE97F8

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

Preview Lab → · Contrast checker → · Palette generator →

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