#8D7EF8#8D7EF8

#8D7EF8 is a light, vivid blue. Relative luminance 0.274; OKLCH L 66.3% C 0.176 H 286.2°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8D7EF8
RGBrgb(141, 126, 248)
HSLhsl(247, 90%, 73%)
HSVhsv(247, 49%, 97%)
CMYKcmyk(43.1%, 49.2%, 0%, 2.7%)
CIE-LABlab(59.31, 35.09, -59.38)
CIE-LCHlch(59.31, 68.97, 300.58°)
OKLaboklab(66.33% 0.049 -0.1686)
OKLCHoklch(66.33% 0.176 286.2)
XYZxyz(35.3838, 27.3603, 92.2054)
Luminance0.2736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7EF8 #E9F87E
analogous
#7EACF8 #8D7EF8 #CA7EF8
triadic
#8D7EF8 #F88D7E #7EF88D
tetradic
#8D7EF8 #F87EAC #E9F87E #7EF8CA
square
#8D7EF8 #F87EAC #E9F87E #7EF8CA
split-complementary
#8D7EF8 #F8CA7E #ACF87E
monochromatic
#290DEF #5A44F5 #8D7EF8 #C0B8FB #E5E2FD

Accessibility & contrast

On white

3.24
#8D7EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#8D7EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7EF8
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7EF8#FFFFFF#000000##000000
##8D7EF81.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A92FC
Deuteranopia (green-blind)
#478BF5
Tritanopia (blue-blind)
#6C98AF
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8d7ef8;
/* rgb */ color: rgb(141, 126, 248);
/* oklch */ color: oklch(66.3% 0.176 286.2);
Tailwind
colors: {
  custom: {
    50: '#b4a3fb',
    500: '#8d7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #8d7ef8;
$custom-light: #b4a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7ef8",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 247.377,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.6633,
    "c": 0.17554,
    "h": 286.2
  },
  "luminance": 0.27362
}

Semantic roles & 50–950 ramp

primary
#8D7EF8
secondary
#F2F6D5
accent
#E600C9
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8D7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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