#8E7DED#8E7DED

#8E7DED is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.6% C 0.162 H 288.0°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8E7DED
RGBrgb(142, 125, 237)
HSLhsl(249, 76%, 71%)
HSVhsv(249, 47%, 93%)
CMYKcmyk(40.1%, 47.3%, 0%, 7.1%)
CIE-LABlab(58.54, 32.85, -54.51)
CIE-LCHlch(58.54, 63.65, 301.08°)
OKLaboklab(65.57% 0.0503 -0.1543)
OKLCHoklch(65.57% 0.162 288)
XYZxyz(33.7707, 26.5313, 83.4461)
Luminance0.2653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7DED #DCED7D
analogous
#7DA4ED #8E7DED #C67DED
triadic
#8E7DED #ED8E7D #7DED8E
tetradic
#8E7DED #ED7DA4 #DCED7D #7DEDC6
square
#8E7DED #ED7DA4 #DCED7D #7DEDC6
split-complementary
#8E7DED #EDC67D #A4ED7D
monochromatic
#391DD2 #5F47E6 #8E7DED #BDB3F4 #E8E4FB

Accessibility & contrast

On white

3.33
#8E7DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#8E7DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7DED
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7DED#FFFFFF#000000##000000
##8E7DED1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FF1
Deuteranopia (green-blind)
#518AEA
Tritanopia (blue-blind)
#7394AA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8e7ded;
/* rgb */ color: rgb(142, 125, 237);
/* oklch */ color: oklch(65.6% 0.162 288.0);
Tailwind
colors: {
  custom: {
    50: '#b3a3f3',
    500: '#8e7ded',
    950: '#000000',
  },
}
SCSS
$custom: #8e7ded;
$custom-light: #b3a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7ded",
  "rgb": {
    "r": 142,
    "g": 125,
    "b": 237
  },
  "hsl": {
    "h": 249.107,
    "s": 75.676,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65574,
    "c": 0.16225,
    "h": 288
  },
  "luminance": 0.26532
}

Semantic roles & 50–950 ramp

primary
#8E7DED
secondary
#EDF2D4
accent
#D80EB9
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8E7DED

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

Preview Lab → · Contrast checker → · Palette generator →

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