#8D7EF7#8D7EF7

#8D7EF7 is a light, vivid blue. Relative luminance 0.273; OKLCH L 66.3% C 0.174 H 286.3°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8D7EF7
RGBrgb(141, 126, 247)
HSLhsl(247, 88%, 73%)
HSVhsv(247, 49%, 97%)
CMYKcmyk(42.9%, 49%, 0%, 3.1%)
CIE-LABlab(59.25, 34.81, -58.92)
CIE-LCHlch(59.25, 68.43, 300.58°)
OKLaboklab(66.27% 0.0489 -0.1672)
OKLCHoklch(66.27% 0.174 286.3)
XYZxyz(35.2291, 27.2984, 91.3906)
Luminance0.2730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7EF7 #E8F77E
analogous
#7EABF7 #8D7EF7 #C97EF7
triadic
#8D7EF7 #F78D7E #7EF78D
tetradic
#8D7EF7 #F77EAB #E8F77E #7EF7C9
square
#8D7EF7 #F77EAB #E8F77E #7EF7C9
split-complementary
#8D7EF7 #F7C97E #ABF77E
monochromatic
#2A0FEC #5A44F3 #8D7EF7 #C0B8FB #E6E2FD

Accessibility & contrast

On white

3.25
#8D7EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#8D7EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7EF7
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7EF7#FFFFFF#000000##000000
##8D7EF71.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B92FB
Deuteranopia (green-blind)
#488BF4
Tritanopia (blue-blind)
#6D97AF
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8d7ef7;
/* rgb */ color: rgb(141, 126, 247);
/* oklch */ color: oklch(66.3% 0.174 286.3);
Tailwind
colors: {
  custom: {
    50: '#b4a3fa',
    500: '#8d7ef7',
    950: '#000000',
  },
}
SCSS
$custom: #8d7ef7;
$custom-light: #b4a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7ef7",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 247.438,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.66269,
    "c": 0.17421,
    "h": 286.3
  },
  "luminance": 0.273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D7EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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