#8D7DEC#8D7DEC

#8D7DEC is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.4% C 0.161 H 287.7°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8D7DEC
RGBrgb(141, 125, 236)
HSLhsl(249, 74%, 71%)
HSVhsv(249, 47%, 93%)
CMYKcmyk(40.3%, 47%, 0%, 7.5%)
CIE-LABlab(58.40, 32.33, -54.18)
CIE-LCHlch(58.40, 63.10, 300.83°)
OKLaboklab(65.43% 0.049 -0.1533)
OKLCHoklch(65.43% 0.161 287.7)
XYZxyz(33.4542, 26.3849, 82.6708)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7DEC #DCEC7D
analogous
#7DA4EC #8D7DEC #C57DEC
triadic
#8D7DEC #EC8D7D #7DEC8D
tetradic
#8D7DEC #EC7DA4 #DCEC7D #7DECC5
square
#8D7DEC #EC7DA4 #DCEC7D #7DECC5
split-complementary
#8D7DEC #ECC57D #A4EC7D
monochromatic
#381ED0 #5E48E4 #8D7DEC #BCB2F4 #E8E4FB

Accessibility & contrast

On white

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

On black

6.28
#8D7DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7DEC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7DEC#FFFFFF#000000##000000
##8D7DEC1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FF0
Deuteranopia (green-blind)
#518AE9
Tritanopia (blue-blind)
#7293A9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8d7dec;
/* rgb */ color: rgb(141, 125, 236);
/* oklch */ color: oklch(65.4% 0.161 287.7);
Tailwind
colors: {
  custom: {
    50: '#b3a3f3',
    500: '#8d7dec',
    950: '#000000',
  },
}
SCSS
$custom: #8d7dec;
$custom-light: #b3a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7dec",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 248.649,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.65433,
    "c": 0.16096,
    "h": 287.7
  },
  "luminance": 0.26386
}

Semantic roles & 50–950 ramp

primary
#8D7DEC
secondary
#EDF1D3
accent
#D70FBA
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8D7DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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