#8D7EF6#8D7EF6

#8D7EF6 is a light, vivid blue. Relative luminance 0.272; OKLCH L 66.2% C 0.173 H 286.4°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8D7EF6
RGBrgb(141, 126, 246)
HSLhsl(248, 87%, 73%)
HSVhsv(248, 49%, 96%)
CMYKcmyk(42.7%, 48.8%, 0%, 3.5%)
CIE-LABlab(59.19, 34.53, -58.46)
CIE-LCHlch(59.19, 67.89, 300.57°)
OKLaboklab(66.21% 0.0488 -0.1659)
OKLCHoklch(66.21% 0.173 286.4)
XYZxyz(35.0752, 27.2369, 90.5801)
Luminance0.2724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7EF6 #E7F67E
analogous
#7EABF6 #8D7EF6 #C97EF6
triadic
#8D7EF6 #F68D7E #7EF68D
tetradic
#8D7EF6 #F67EAB #E7F67E #7EF6C9
square
#8D7EF6 #F67EAB #E7F67E #7EF6C9
split-complementary
#8D7EF6 #F6C97E #ABF67E
monochromatic
#2B10E9 #5A45F2 #8D7EF6 #C0B7FA #E6E2FD

Accessibility & contrast

On white

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

On black

6.45
#8D7EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7EF6
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7EF6#FFFFFF#000000##000000
##8D7EF61.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C92FA
Deuteranopia (green-blind)
#498BF3
Tritanopia (blue-blind)
#6D97AE
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8d7ef6;
/* rgb */ color: rgb(141, 126, 246);
/* oklch */ color: oklch(66.2% 0.173 286.4);
Tailwind
colors: {
  custom: {
    50: '#b3a3fa',
    500: '#8d7ef6',
    950: '#000000',
  },
}
SCSS
$custom: #8d7ef6;
$custom-light: #b3a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7ef6",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 247.5,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.66208,
    "c": 0.17288,
    "h": 286.4
  },
  "luminance": 0.27238
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D7EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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