#8D7EEA#8D7EEA

#8D7EEA is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.5% C 0.157 H 287.6°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8D7EEA
RGBrgb(141, 126, 234)
HSLhsl(248, 72%, 71%)
HSVhsv(248, 46%, 92%)
CMYKcmyk(39.7%, 46.2%, 0%, 8.2%)
CIE-LABlab(58.53, 31.20, -52.86)
CIE-LCHlch(58.53, 61.38, 300.55°)
OKLaboklab(65.5% 0.0475 -0.1495)
OKLCHoklch(65.5% 0.157 287.6)
XYZxyz(33.2925, 26.5238, 81.1914)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7EEA #DBEA7E
analogous
#7EA5EA #8D7EEA #C37EEA
triadic
#8D7EEA #EA8D7E #7EEA8D
tetradic
#8D7EEA #EA7EA5 #DBEA7E #7EEAC3
square
#8D7EEA #EA7EA5 #DBEA7E #7EEAC3
split-complementary
#8D7EEA #EAC37E #A5EA7E
monochromatic
#3921CC #5E49E1 #8D7EEA #BCB3F3 #E8E5FB

Accessibility & contrast

On white

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

On black

6.30
#8D7EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7EEA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7EEA#FFFFFF#000000##000000
##8D7EEA1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#558FEE
Deuteranopia (green-blind)
#558AE7
Tritanopia (blue-blind)
#7394A9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d7eea;
/* rgb */ color: rgb(141, 126, 234);
/* oklch */ color: oklch(65.5% 0.157 287.6);
Tailwind
colors: {
  custom: {
    50: '#b2a3f1',
    500: '#8d7eea',
    950: '#000000',
  },
}
SCSS
$custom: #8d7eea;
$custom-light: #b2a3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7eea",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 248.333,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65496,
    "c": 0.15683,
    "h": 287.6
  },
  "luminance": 0.26525
}

Semantic roles & 50–950 ramp

primary
#8D7EEA
secondary
#ECF1D3
accent
#D411B9
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8D7EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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