#CE8CFB#CE8CFB

#CE8CFB is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.8% C 0.167 H 310.3°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#CE8CFB
RGBrgb(206, 140, 251)
HSLhsl(276, 93%, 77%)
HSVhsv(276, 44%, 98%)
CMYKcmyk(17.9%, 44.2%, 0%, 1.6%)
CIE-LABlab(68.64, 44.75, -45.85)
CIE-LCHlch(68.64, 64.07, 314.31°)
OKLaboklab(74.79% 0.1082 -0.1275)
OKLCHoklch(74.79% 0.167 310.3)
XYZxyz(52.2411, 38.8438, 95.9936)
Luminance0.3884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE8CFB #B9FB8C
analogous
#978CFB #CE8CFB #FB8CF0
triadic
#CE8CFB #FBCE8C #8CFBCE
tetradic
#CE8CFB #FB978C #B9FB8C #8CF0FB
square
#CE8CFB #FB978C #B9FB8C #8CF0FB
split-complementary
#CE8CFB #F0FB8C #8CFB97
monochromatic
#9C16F7 #B551F9 #CE8CFB #E7C7FD #F2E1FE

Accessibility & contrast

On white

2.39
#CE8CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#CE8CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE8CFB
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE8CFB#FFFFFF#000000##000000
##CE8CFB1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FF
Deuteranopia (green-blind)
#84A9F8
Tritanopia (blue-blind)
#C99DB8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ce8cfb;
/* rgb */ color: rgb(206, 140, 251);
/* oklch */ color: oklch(74.8% 0.167 310.3);
Tailwind
colors: {
  custom: {
    50: '#dfaffd',
    500: '#ce8cfb',
    950: '#000000',
  },
}
SCSS
$custom: #ce8cfb;
$custom-light: #dfaffd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce8cfb",
  "rgb": {
    "r": 206,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 275.676,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74793,
    "c": 0.16723,
    "h": 310.3
  },
  "luminance": 0.38843
}

Semantic roles & 50–950 ramp

primary
#CE8CFB
secondary
#E2F6D5
accent
#E6005D
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CE8CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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