#CE8DFE#CE8DFE

#CE8DFE is a light, vivid violet. Relative luminance 0.393; OKLCH L 75.1% C 0.169 H 309.4°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#CE8DFE
RGBrgb(206, 141, 254)
HSLhsl(275, 98%, 77%)
HSVhsv(275, 44%, 100%)
CMYKcmyk(18.9%, 44.5%, 0%, 0.4%)
CIE-LABlab(68.99, 44.86, -46.93)
CIE-LCHlch(68.99, 64.93, 313.71°)
OKLaboklab(75.1% 0.1073 -0.1306)
OKLCHoklch(75.1% 0.169 309.4)
XYZxyz(52.8645, 39.3281, 98.5529)
Luminance0.3933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE8DFE #BDFE8D
analogous
#958DFE #CE8DFE #FE8DF6
triadic
#CE8DFE #FECE8D #8DFECE
tetradic
#CE8DFE #FE958D #BDFE8D #8DF6FE
square
#CE8DFE #FE958D #BDFE8D #8DF6FE
split-complementary
#CE8DFE #F6FE8D #8DFE95
monochromatic
#9A14FD #B450FD #CE8DFE #E8CAFF #F2E1FF

Accessibility & contrast

On white

2.37
#CE8DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#CE8DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE8DFE
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE8DFE#FFFFFF#000000##000000
##CE8DFE1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A5FF
Deuteranopia (green-blind)
#84A9FB
Tritanopia (blue-blind)
#C89FBA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ce8dfe;
/* rgb */ color: rgb(206, 141, 254);
/* oklch */ color: oklch(75.1% 0.169 309.4);
Tailwind
colors: {
  custom: {
    50: '#dfafff',
    500: '#ce8dfe',
    950: '#000000',
  },
}
SCSS
$custom: #ce8dfe;
$custom-light: #dfafff;
$custom-dark: #000000;
JSON
{
  "hex": "#ce8dfe",
  "rgb": {
    "r": 206,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 274.513,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.751,
    "c": 0.16906,
    "h": 309.4
  },
  "luminance": 0.39327
}

Semantic roles & 50–950 ramp

primary
#CE8DFE
secondary
#E3F7D4
accent
#E60061
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #CE8DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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