#8D7DEB#8D7DEB

#8D7DEB is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.4% C 0.160 H 287.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8D7DEB
RGBrgb(141, 125, 235)
HSLhsl(249, 73%, 71%)
HSVhsv(249, 47%, 92%)
CMYKcmyk(40%, 46.8%, 0%, 7.8%)
CIE-LABlab(58.35, 32.06, -53.71)
CIE-LCHlch(58.35, 62.55, 300.83°)
OKLaboklab(65.37% 0.0489 -0.1519)
OKLCHoklch(65.37% 0.16 287.8)
XYZxyz(33.3093, 26.3270, 81.9077)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7DEB #DBEB7D
analogous
#7DA4EB #8D7DEB #C47DEB
triadic
#8D7DEB #EB8D7D #7DEB8D
tetradic
#8D7DEB #EB7DA4 #DBEB7D #7DEBC4
square
#8D7DEB #EB7DA4 #DBEB7D #7DEBC4
split-complementary
#8D7DEB #EBC47D #A4EB7D
monochromatic
#3920CE #5E48E3 #8D7DEB #BCB2F3 #E8E4FB

Accessibility & contrast

On white

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

On black

6.27
#8D7DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7DEB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7DEB#FFFFFF#000000##000000
##8D7DEB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEF
Deuteranopia (green-blind)
#5289E8
Tritanopia (blue-blind)
#7393A9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8d7deb;
/* rgb */ color: rgb(141, 125, 235);
/* oklch */ color: oklch(65.4% 0.160 287.8);
Tailwind
colors: {
  custom: {
    50: '#b2a3f2',
    500: '#8d7deb',
    950: '#000000',
  },
}
SCSS
$custom: #8d7deb;
$custom-light: #b2a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7deb",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 248.727,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65374,
    "c": 0.15961,
    "h": 287.8
  },
  "luminance": 0.26328
}

Semantic roles & 50–950 ramp

primary
#8D7DEB
secondary
#ECF1D3
accent
#D510B9
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8D7DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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