#8D7EFE#8D7EFE

#8D7EFE is a light, vivid blue. Relative luminance 0.277; OKLCH L 66.7% C 0.183 H 285.6°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8D7EFE
RGBrgb(141, 126, 254)
HSLhsl(247, 98%, 75%)
HSVhsv(247, 50%, 100%)
CMYKcmyk(44.5%, 50.4%, 0%, 0.4%)
CIE-LABlab(59.65, 36.78, -62.13)
CIE-LCHlch(59.65, 72.20, 300.62°)
OKLaboklab(66.7% 0.0494 -0.1766)
OKLCHoklch(66.7% 0.183 285.6)
XYZxyz(36.3296, 27.7387, 97.1866)
Luminance0.2774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7EFE #EFFE7E
analogous
#7EAFFE #8D7EFE #CD7EFE
triadic
#8D7EFE #FE8D7E #7EFE8D
tetradic
#8D7EFE #FE7EAF #EFFE7E #7EFECD
square
#8D7EFE #FE7EAF #EFFE7E #7EFECD
split-complementary
#8D7EFE #FECD7E #AFFE7E
monochromatic
#2205FD #5741FE #8D7EFE #C3BBFE #E4E1FF

Accessibility & contrast

On white

3.21
#8D7EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#8D7EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7EFE
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7EFE#FFFFFF#000000##000000
##8D7EFE1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#408CFB
Tritanopia (blue-blind)
#6999B2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8d7efe;
/* rgb */ color: rgb(141, 126, 254);
/* oklch */ color: oklch(66.7% 0.183 285.6);
Tailwind
colors: {
  custom: {
    50: '#b4a3ff',
    500: '#8d7efe',
    950: '#000000',
  },
}
SCSS
$custom: #8d7efe;
$custom-light: #b4a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7efe",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 247.031,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.667,
    "c": 0.18344,
    "h": 285.6
  },
  "luminance": 0.2774
}

Semantic roles & 50–950 ramp

primary
#8D7EFE
secondary
#F3F7D4
accent
#E600CB
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #8D7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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