#8D7DFD#8D7DFD

#8D7DFD is a light, vivid blue. Relative luminance 0.274; OKLCH L 66.5% C 0.183 H 286.0°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8D7DFD
RGBrgb(141, 125, 253)
HSLhsl(248, 97%, 74%)
HSVhsv(248, 51%, 99%)
CMYKcmyk(44.3%, 50.6%, 0%, 0.8%)
CIE-LABlab(59.36, 37.07, -62.05)
CIE-LCHlch(59.36, 72.28, 300.86°)
OKLaboklab(66.46% 0.0505 -0.1764)
OKLCHoklch(66.46% 0.184 286)
XYZxyz(36.0426, 27.4203, 96.3030)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7DFD #EDFD7D
analogous
#7DADFD #8D7DFD #CD7DFD
triadic
#8D7DFD #FD8D7D #7DFD8D
tetradic
#8D7DFD #FD7DAD #EDFD7D #7DFDCD
square
#8D7DFD #FD7DAD #EDFD7D #7DFDCD
split-complementary
#8D7DFD #FDCD7D #ADFD7D
monochromatic
#2304FB #5841FC #8D7DFD #C2B9FE #E5E1FF

Accessibility & contrast

On white

3.24
#8D7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#8D7DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7DFD
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7DFD#FFFFFF#000000##000000
##8D7DFD1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4292FF
Deuteranopia (green-blind)
#3F8BFA
Tritanopia (blue-blind)
#6A98B1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8d7dfd;
/* rgb */ color: rgb(141, 125, 253);
/* oklch */ color: oklch(66.5% 0.183 286.0);
Tailwind
colors: {
  custom: {
    50: '#b4a3ff',
    500: '#8d7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #8d7dfd;
$custom-light: #b4a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7dfd",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 247.5,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.66464,
    "c": 0.1835,
    "h": 286
  },
  "luminance": 0.27422
}

Semantic roles & 50–950 ramp

primary
#8D7DFD
secondary
#F2F7D4
accent
#E600C9
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#120F18
muted
#817F86

Preview Lab

Preview with #8D7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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