#8D7EEF#8D7EEF

#8D7EEF is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.8% C 0.164 H 287.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8D7EEF
RGBrgb(141, 126, 239)
HSLhsl(248, 78%, 72%)
HSVhsv(248, 47%, 94%)
CMYKcmyk(41%, 47.3%, 0%, 6.3%)
CIE-LABlab(58.80, 32.58, -55.20)
CIE-LCHlch(58.80, 64.10, 300.55°)
OKLaboklab(65.79% 0.0481 -0.1563)
OKLCHoklch(65.79% 0.164 287.1)
XYZxyz(34.0210, 26.8152, 85.0279)
Luminance0.2682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7EEF #E0EF7E
analogous
#7EA8EF #8D7EEF #C67EEF
triadic
#8D7EEF #EF8D7E #7EEF8D
tetradic
#8D7EEF #EF7EA8 #E0EF7E #7EEFC6
square
#8D7EEF #EF7EA8 #E0EF7E #7EEFC6
split-complementary
#8D7EEF #EFC67E #A8EF7E
monochromatic
#341BD8 #5D48E8 #8D7EEF #BDB4F6 #E7E4FC

Accessibility & contrast

On white

3.30
#8D7EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#8D7EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7EEF
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7EEF#FFFFFF#000000##000000
##8D7EEF1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F3
Deuteranopia (green-blind)
#508AEC
Tritanopia (blue-blind)
#7195AB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d7eef;
/* rgb */ color: rgb(141, 126, 239);
/* oklch */ color: oklch(65.8% 0.164 287.1);
Tailwind
colors: {
  custom: {
    50: '#b3a3f5',
    500: '#8d7eef',
    950: '#000000',
  },
}
SCSS
$custom: #8d7eef;
$custom-light: #b3a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7eef",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 247.965,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.65789,
    "c": 0.16355,
    "h": 287.1
  },
  "luminance": 0.26816
}

Semantic roles & 50–950 ramp

primary
#8D7EEF
secondary
#EFF3D6
accent
#DA0BBF
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#110F17
muted
#807F85

Preview Lab

Preview with #8D7EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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