#8E6CED#8E6CED

#8E6CED is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.7% C 0.187 H 292.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8E6CED
RGBrgb(142, 108, 237)
HSLhsl(256, 78%, 68%)
HSVhsv(256, 54%, 93%)
CMYKcmyk(40.1%, 54.4%, 0%, 7.1%)
CIE-LABlab(54.65, 42.60, -60.74)
CIE-LCHlch(54.65, 74.19, 305.04°)
OKLaboklab(62.67% 0.0708 -0.1726)
OKLCHoklch(62.67% 0.187 292.3)
XYZxyz(31.7998, 22.5895, 82.7891)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E6CED #CBED6C
analogous
#6C8AED #8E6CED #CF6CED
triadic
#8E6CED #ED8E6C #6CED8E
tetradic
#8E6CED #ED6C8A #CBED6C #6CEDCF
square
#8E6CED #ED6C8A #CBED6C #6CEDCF
split-complementary
#8E6CED #EDCF6C #8AED6C
monochromatic
#4618C6 #6435E6 #8E6CED #B8A3F4 #E2D9FA

Accessibility & contrast

On white

3.81
#8E6CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8E6CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E6CED
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E6CED#FFFFFF#000000##000000
##8E6CED1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C85F1
Deuteranopia (green-blind)
#3580EA
Tritanopia (blue-blind)
#7587A2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8e6ced;
/* rgb */ color: rgb(142, 108, 237);
/* oklch */ color: oklch(62.7% 0.187 292.3);
Tailwind
colors: {
  custom: {
    50: '#b497f3',
    500: '#8e6ced',
    950: '#000000',
  },
}
SCSS
$custom: #8e6ced;
$custom-light: #b497f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e6ced",
  "rgb": {
    "r": 142,
    "g": 108,
    "b": 237
  },
  "hsl": {
    "h": 255.814,
    "s": 78.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.62671,
    "c": 0.18656,
    "h": 292.3
  },
  "luminance": 0.2259
}

Semantic roles & 50–950 ramp

primary
#8E6CED
secondary
#E4EEC6
accent
#DA0BA4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #8E6CED

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

Preview Lab → · Contrast checker → · Palette generator →

#8E6CED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva