#CE8DFB#CE8DFB

#CE8DFB is a light, vivid violet. Relative luminance 0.391; OKLCH L 75.0% C 0.166 H 310.2°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#CE8DFB
RGBrgb(206, 141, 251)
HSLhsl(275, 93%, 77%)
HSVhsv(275, 44%, 98%)
CMYKcmyk(17.9%, 43.8%, 0%, 1.6%)
CIE-LABlab(68.85, 44.22, -45.51)
CIE-LCHlch(68.85, 63.46, 314.17°)
OKLaboklab(74.95% 0.1068 -0.1265)
OKLCHoklch(74.95% 0.166 310.2)
XYZxyz(52.3879, 39.1374, 96.0426)
Luminance0.3914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE8DFB #BAFB8D
analogous
#978DFB #CE8DFB #FB8DF1
triadic
#CE8DFB #FBCE8D #8DFBCE
tetradic
#CE8DFB #FB978D #BAFB8D #8DF1FB
square
#CE8DFB #FB978D #BAFB8D #8DF1FB
split-complementary
#CE8DFB #F1FB8D #8DFB97
monochromatic
#9B17F7 #B552F9 #CE8DFB #E7C8FD #F2E1FE

Accessibility & contrast

On white

2.38
#CE8DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#CE8DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE8DFB
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE8DFB#FFFFFF#000000##000000
##CE8DFB1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A5FF
Deuteranopia (green-blind)
#85A9F8
Tritanopia (blue-blind)
#C99EB8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ce8dfb;
/* rgb */ color: rgb(206, 141, 251);
/* oklch */ color: oklch(75.0% 0.166 310.2);
Tailwind
colors: {
  custom: {
    50: '#dfaffd',
    500: '#ce8dfb',
    950: '#000000',
  },
}
SCSS
$custom: #ce8dfb;
$custom-light: #dfaffd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce8dfb",
  "rgb": {
    "r": 206,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 275.455,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74952,
    "c": 0.16561,
    "h": 310.2
  },
  "luminance": 0.39137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE8DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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