#CE8DF2#CE8DF2

#CE8DF2 is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.5% C 0.155 H 312.7°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#CE8DF2
RGBrgb(206, 141, 242)
HSLhsl(279, 80%, 75%)
HSVhsv(279, 42%, 95%)
CMYKcmyk(14.9%, 41.7%, 0%, 5.1%)
CIE-LABlab(68.45, 42.31, -41.22)
CIE-LCHlch(68.45, 59.07, 315.74°)
OKLaboklab(74.52% 0.1053 -0.1142)
OKLCHoklch(74.52% 0.155 312.7)
XYZxyz(51.0028, 38.5834, 88.7477)
Luminance0.3858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE8DF2 #B1F28D
analogous
#9B8DF2 #CE8DF2 #F28DE3
triadic
#CE8DF2 #F2CE8D #8DF2CE
tetradic
#CE8DF2 #F29B8D #B1F28D #8DE3F2
square
#CE8DF2 #F29B8D #B1F28D #8DE3F2
split-complementary
#CE8DF2 #E3F28D #8DF29B
monochromatic
#9F1FE5 #B656EC #CE8DF2 #E6C4F8 #F3E4FC

Accessibility & contrast

On white

2.41
#CE8DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#CE8DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE8DF2
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE8DF2#FFFFFF#000000##000000
##CE8DF21.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A3F6
Deuteranopia (green-blind)
#8AA8EF
Tritanopia (blue-blind)
#CB9CB4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ce8df2;
/* rgb */ color: rgb(206, 141, 242);
/* oklch */ color: oklch(74.5% 0.155 312.7);
Tailwind
colors: {
  custom: {
    50: '#deaff6',
    500: '#ce8df2',
    950: '#000000',
  },
}
SCSS
$custom: #ce8df2;
$custom-light: #deaff6;
$custom-dark: #000000;
JSON
{
  "hex": "#ce8df2",
  "rgb": {
    "r": 206,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 278.614,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74519,
    "c": 0.15532,
    "h": 312.7
  },
  "luminance": 0.38582
}

Semantic roles & 50–950 ramp

primary
#CE8DF2
secondary
#E1F4D7
accent
#DC0A55
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151017
muted
#837F85

Preview Lab

Preview with #CE8DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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