#8D7EEE#8D7EEE

#8D7EEE is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.7% C 0.162 H 287.2°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8D7EEE
RGBrgb(141, 126, 238)
HSLhsl(248, 77%, 71%)
HSVhsv(248, 47%, 93%)
CMYKcmyk(40.8%, 47.1%, 0%, 6.7%)
CIE-LABlab(58.75, 32.31, -54.74)
CIE-LCHlch(58.75, 63.56, 300.55°)
OKLaboklab(65.73% 0.048 -0.1549)
OKLCHoklch(65.73% 0.162 287.2)
XYZxyz(33.8736, 26.7563, 84.2521)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7EEE #DFEE7E
analogous
#7EA7EE #8D7EEE #C57EEE
triadic
#8D7EEE #EE8D7E #7EEE8D
tetradic
#8D7EEE #EE7EA7 #DFEE7E #7EEEC5
square
#8D7EEE #EE7EA7 #DFEE7E #7EEEC5
split-complementary
#8D7EEE #EEC57E #A7EE7E
monochromatic
#351CD5 #5D48E7 #8D7EEE #BDB4F5 #E7E4FB

Accessibility & contrast

On white

3.31
#8D7EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#8D7EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7EEE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7EEE#FFFFFF#000000##000000
##8D7EEE1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F2
Deuteranopia (green-blind)
#518AEB
Tritanopia (blue-blind)
#7195AB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d7eee;
/* rgb */ color: rgb(141, 126, 238);
/* oklch */ color: oklch(65.7% 0.162 287.2);
Tailwind
colors: {
  custom: {
    50: '#b3a3f4',
    500: '#8d7eee',
    950: '#000000',
  },
}
SCSS
$custom: #8d7eee;
$custom-light: #b3a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7eee",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 248.036,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.6573,
    "c": 0.16221,
    "h": 287.2
  },
  "luminance": 0.26757
}

Semantic roles & 50–950 ramp

primary
#8D7EEE
secondary
#EFF2D5
accent
#D90DBE
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8D7EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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