#CE8DF8#CE8DF8

#CE8DF8 is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.8% C 0.162 H 311.0°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#CE8DF8
RGBrgb(206, 141, 248)
HSLhsl(276, 88%, 76%)
HSVhsv(276, 43%, 97%)
CMYKcmyk(16.9%, 43.1%, 0%, 2.7%)
CIE-LABlab(68.71, 43.58, -44.09)
CIE-LCHlch(68.71, 61.99, 314.67°)
OKLaboklab(74.81% 0.1064 -0.1224)
OKLCHoklch(74.81% 0.162 311)
XYZxyz(51.9187, 38.9498, 93.5717)
Luminance0.3895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE8DF8 #B7F88D
analogous
#998DF8 #CE8DF8 #F88DEC
triadic
#CE8DF8 #F8CE8D #8DF8CE
tetradic
#CE8DF8 #F8998D #B7F88D #8DECF8
square
#CE8DF8 #F8998D #B7F88D #8DECF8
split-complementary
#CE8DF8 #ECF88D #8DF899
monochromatic
#9C1AF1 #B553F4 #CE8DF8 #E7C7FC #F3E2FD

Accessibility & contrast

On white

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

On black

8.79
#CE8DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE8DF8
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE8DF8#FFFFFF#000000##000000
##CE8DF81.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A4FC
Deuteranopia (green-blind)
#87A9F5
Tritanopia (blue-blind)
#C99DB7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ce8df8;
/* rgb */ color: rgb(206, 141, 248);
/* oklch */ color: oklch(74.8% 0.162 311.0);
Tailwind
colors: {
  custom: {
    50: '#dfaffb',
    500: '#ce8df8',
    950: '#000000',
  },
}
SCSS
$custom: #ce8df8;
$custom-light: #dfaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#ce8df8",
  "rgb": {
    "r": 206,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 276.449,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74806,
    "c": 0.16216,
    "h": 311
  },
  "luminance": 0.38949
}

Semantic roles & 50–950 ramp

primary
#CE8DF8
secondary
#E2F5D6
accent
#E5005A
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CE8DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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