#CE8EF2#CE8EF2

#CE8EF2 is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.7% C 0.154 H 312.6°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#CE8EF2
RGBrgb(206, 142, 242)
HSLhsl(278, 79%, 75%)
HSVhsv(278, 41%, 95%)
CMYKcmyk(14.9%, 41.3%, 0%, 5.1%)
CIE-LABlab(68.66, 41.77, -40.88)
CIE-LCHlch(68.66, 58.45, 315.61°)
OKLaboklab(74.68% 0.1039 -0.1132)
OKLCHoklch(74.68% 0.154 312.6)
XYZxyz(51.1509, 38.8796, 88.7971)
Luminance0.3888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE8EF2 #B2F28E
analogous
#9C8EF2 #CE8EF2 #F28EE4
triadic
#CE8EF2 #F2CE8E #8EF2CE
tetradic
#CE8EF2 #F29C8E #B2F28E #8EE4F2
square
#CE8EF2 #F29C8E #B2F28E #8EE4F2
split-complementary
#CE8EF2 #E4F28E #8EF29C
monochromatic
#9E20E5 #B657EC #CE8EF2 #E6C5F8 #F3E4FC

Accessibility & contrast

On white

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

On black

8.78
#CE8EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE8EF2
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE8EF2#FFFFFF#000000##000000
##CE8EF21.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA4F6
Deuteranopia (green-blind)
#8BA9EF
Tritanopia (blue-blind)
#CB9CB5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ce8ef2;
/* rgb */ color: rgb(206, 142, 242);
/* oklch */ color: oklch(74.7% 0.154 312.6);
Tailwind
colors: {
  custom: {
    50: '#deb0f6',
    500: '#ce8ef2',
    950: '#000000',
  },
}
SCSS
$custom: #ce8ef2;
$custom-light: #deb0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ce8ef2",
  "rgb": {
    "r": 206,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 278.4,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7468,
    "c": 0.15366,
    "h": 312.6
  },
  "luminance": 0.38879
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE8EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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