#8D7DF8#8D7DF8

#8D7DF8 is a light, vivid blue. Relative luminance 0.271; OKLCH L 66.2% C 0.177 H 286.5°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8D7DF8
RGBrgb(141, 125, 248)
HSLhsl(248, 90%, 73%)
HSVhsv(248, 50%, 97%)
CMYKcmyk(43.1%, 49.6%, 0%, 2.7%)
CIE-LABlab(59.07, 35.67, -59.75)
CIE-LCHlch(59.07, 69.59, 300.83°)
OKLaboklab(66.15% 0.0501 -0.1697)
OKLCHoklch(66.15% 0.177 286.5)
XYZxyz(35.2565, 27.1059, 92.1630)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7DF8 #E8F87D
analogous
#7DAAF8 #8D7DF8 #CA7DF8
triadic
#8D7DF8 #F88D7D #7DF88D
tetradic
#8D7DF8 #F87DAA #E8F87D #7DF8CA
square
#8D7DF8 #F87DAA #E8F87D #7DF8CA
split-complementary
#8D7DF8 #F8CA7D #AAF87D
monochromatic
#2A0DEE #5A43F5 #8D7DF8 #C0B7FB #E6E2FD

Accessibility & contrast

On white

3.27
#8D7DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#8D7DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7DF8
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7DF8#FFFFFF#000000##000000
##8D7DF81.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4891FC
Deuteranopia (green-blind)
#458BF5
Tritanopia (blue-blind)
#6C97AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8d7df8;
/* rgb */ color: rgb(141, 125, 248);
/* oklch */ color: oklch(66.2% 0.177 286.5);
Tailwind
colors: {
  custom: {
    50: '#b4a3fb',
    500: '#8d7df8',
    950: '#000000',
  },
}
SCSS
$custom: #8d7df8;
$custom-light: #b4a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7df8",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 247.805,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.66154,
    "c": 0.17692,
    "h": 286.5
  },
  "luminance": 0.27107
}

Semantic roles & 50–950 ramp

primary
#8D7DF8
secondary
#F1F6D5
accent
#E600C8
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8D7DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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