#CE8CF2#CE8CF2

#CE8CF2 is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.4% C 0.157 H 312.8°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#CE8CF2
RGBrgb(206, 140, 242)
HSLhsl(279, 80%, 75%)
HSVhsv(279, 42%, 95%)
CMYKcmyk(14.9%, 42.1%, 0%, 5.1%)
CIE-LABlab(68.23, 42.84, -41.56)
CIE-LCHlch(68.23, 59.69, 315.87°)
OKLaboklab(74.36% 0.1067 -0.1151)
OKLCHoklch(74.36% 0.157 312.8)
XYZxyz(50.8560, 38.2898, 88.6988)
Luminance0.3829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE8CF2 #B0F28C
analogous
#9B8CF2 #CE8CF2 #F28CE3
triadic
#CE8CF2 #F2CE8C #8CF2CE
tetradic
#CE8CF2 #F29B8C #B0F28C #8CE3F2
square
#CE8CF2 #F29B8C #B0F28C #8CE3F2
split-complementary
#CE8CF2 #E3F28C #8CF29B
monochromatic
#9F1EE6 #B755EC #CE8CF2 #E5C3F8 #F3E4FC

Accessibility & contrast

On white

2.43
#CE8CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#CE8CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE8CF2
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE8CF2#FFFFFF#000000##000000
##CE8CF21.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A3F6
Deuteranopia (green-blind)
#89A8EF
Tritanopia (blue-blind)
#CB9BB4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ce8cf2;
/* rgb */ color: rgb(206, 140, 242);
/* oklch */ color: oklch(74.4% 0.157 312.8);
Tailwind
colors: {
  custom: {
    50: '#deaff6',
    500: '#ce8cf2',
    950: '#000000',
  },
}
SCSS
$custom: #ce8cf2;
$custom-light: #deaff6;
$custom-dark: #000000;
JSON
{
  "hex": "#ce8cf2",
  "rgb": {
    "r": 206,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 278.824,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74357,
    "c": 0.15698,
    "h": 312.8
  },
  "luminance": 0.38289
}

Semantic roles & 50–950 ramp

primary
#CE8CF2
secondary
#E1F4D7
accent
#DC0A54
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CE8CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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