#CE8EFE#CE8EFE

#CE8EFE is a light, vivid violet. Relative luminance 0.396; OKLCH L 75.3% C 0.167 H 309.2°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#CE8EFE
RGBrgb(206, 142, 254)
HSLhsl(274, 98%, 78%)
HSVhsv(274, 44%, 100%)
CMYKcmyk(18.9%, 44.1%, 0%, 0.4%)
CIE-LABlab(69.20, 44.33, -46.60)
CIE-LCHlch(69.20, 64.32, 313.57°)
OKLaboklab(75.26% 0.1059 -0.1297)
OKLCHoklch(75.26% 0.167 309.2)
XYZxyz(53.0126, 39.6243, 98.6023)
Luminance0.3962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE8EFE #BEFE8E
analogous
#968EFE #CE8EFE #FE8EF6
triadic
#CE8EFE #FECE8E #8EFECE
tetradic
#CE8EFE #FE968E #BEFE8E #8EF6FE
square
#CE8EFE #FE968E #BEFE8E #8EF6FE
split-complementary
#CE8EFE #F6FE8E #8EFE96
monochromatic
#9915FD #B451FD #CE8EFE #E8CBFF #F2E1FF

Accessibility & contrast

On white

2.35
#CE8EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#CE8EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE8EFE
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE8EFE#FFFFFF#000000##000000
##CE8EFE1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#85AAFB
Tritanopia (blue-blind)
#C8A0BA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ce8efe;
/* rgb */ color: rgb(206, 142, 254);
/* oklch */ color: oklch(75.3% 0.167 309.2);
Tailwind
colors: {
  custom: {
    50: '#dfb0ff',
    500: '#ce8efe',
    950: '#000000',
  },
}
SCSS
$custom: #ce8efe;
$custom-light: #dfb0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ce8efe",
  "rgb": {
    "r": 206,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 274.286,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75259,
    "c": 0.16745,
    "h": 309.2
  },
  "luminance": 0.39624
}

Semantic roles & 50–950 ramp

primary
#CE8EFE
secondary
#E3F7D4
accent
#E60062
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151118
muted
#838086

Preview Lab

Preview with #CE8EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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