#8D7EF5#8D7EF5

#8D7EF5 is a light, vivid blue. Relative luminance 0.272; OKLCH L 66.1% C 0.172 H 286.5°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8D7EF5
RGBrgb(141, 126, 245)
HSLhsl(248, 86%, 73%)
HSVhsv(248, 49%, 96%)
CMYKcmyk(42.4%, 48.6%, 0%, 3.9%)
CIE-LABlab(59.14, 34.25, -57.99)
CIE-LCHlch(59.14, 67.35, 300.57°)
OKLaboklab(66.15% 0.0487 -0.1645)
OKLCHoklch(66.15% 0.172 286.5)
XYZxyz(34.9221, 27.1757, 89.7739)
Luminance0.2718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7EF5 #E6F57E
analogous
#7EAAF5 #8D7EF5 #C87EF5
triadic
#8D7EF5 #F58D7E #7EF58D
tetradic
#8D7EF5 #F57EAA #E6F57E #7EF5C8
square
#8D7EF5 #F57EAA #E6F57E #7EF5C8
split-complementary
#8D7EF5 #F5C87E #AAF57E
monochromatic
#2D12E7 #5B45F1 #8D7EF5 #BFB7F9 #E6E3FD

Accessibility & contrast

On white

3.26
#8D7EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#8D7EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7EF5
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7EF5#FFFFFF#000000##000000
##8D7EF51.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C91F9
Deuteranopia (green-blind)
#4A8BF2
Tritanopia (blue-blind)
#6E97AE
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8d7ef5;
/* rgb */ color: rgb(141, 126, 245);
/* oklch */ color: oklch(66.1% 0.172 286.5);
Tailwind
colors: {
  custom: {
    50: '#b3a3f9',
    500: '#8d7ef5',
    950: '#000000',
  },
}
SCSS
$custom: #8d7ef5;
$custom-light: #b3a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7ef5",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 247.563,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.66147,
    "c": 0.17155,
    "h": 286.5
  },
  "luminance": 0.27177
}

Semantic roles & 50–950 ramp

primary
#8D7EF5
secondary
#F1F5D6
accent
#E203C6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8D7EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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