#8D7EE6#8D7EE6

#8D7EE6 is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.3% C 0.151 H 288.1°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8D7EE6
RGBrgb(141, 126, 230)
HSLhsl(249, 68%, 70%)
HSVhsv(249, 45%, 90%)
CMYKcmyk(38.7%, 45.2%, 0%, 9.8%)
CIE-LABlab(58.32, 30.11, -50.97)
CIE-LCHlch(58.32, 59.20, 300.57°)
OKLaboklab(65.27% 0.047 -0.1439)
OKLCHoklch(65.27% 0.151 288.1)
XYZxyz(32.7243, 26.2966, 78.1991)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7EE6 #D7E67E
analogous
#7EA3E6 #8D7EE6 #C17EE6
triadic
#8D7EE6 #E68D7E #7EE68D
tetradic
#8D7EE6 #E67EA3 #D7E67E #7EE6C1
square
#8D7EE6 #E67EA3 #D7E67E #7EE6C1
split-complementary
#8D7EE6 #E6C17E #A3E67E
monochromatic
#3D26C4 #604BDC #8D7EE6 #BAB1F0 #E8E5FA

Accessibility & contrast

On white

3.35
#8D7EE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#8D7EE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7EE6
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7EE6#FFFFFF#000000##000000
##8D7EE61.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#588FEA
Deuteranopia (green-blind)
#588AE4
Tritanopia (blue-blind)
#7593A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8d7ee6;
/* rgb */ color: rgb(141, 126, 230);
/* oklch */ color: oklch(65.3% 0.151 288.1);
Tailwind
colors: {
  custom: {
    50: '#b2a3ee',
    500: '#8d7ee6',
    950: '#000000',
  },
}
SCSS
$custom: #8d7ee6;
$custom-light: #b2a3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7ee6",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 230
  },
  "hsl": {
    "h": 248.654,
    "s": 67.532,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65265,
    "c": 0.1514,
    "h": 288.1
  },
  "luminance": 0.26298
}

Semantic roles & 50–950 ramp

primary
#8D7EE6
secondary
#EAEFD1
accent
#CF16B5
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8D7EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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