#8E7DFD#8E7DFD

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

Color values

HEX#8E7DFD
RGBrgb(142, 125, 253)
HSLhsl(248, 97%, 74%)
HSVhsv(248, 51%, 99%)
CMYKcmyk(43.9%, 50.6%, 0%, 0.8%)
CIE-LABlab(59.44, 37.30, -61.91)
CIE-LCHlch(59.44, 72.28, 301.06°)
OKLaboklab(66.54% 0.0517 -0.176)
OKLCHoklch(66.54% 0.183 286.4)
XYZxyz(36.2135, 27.5084, 96.3110)
Luminance0.2751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7DFD #ECFD7D
analogous
#7DACFD #8E7DFD #CE7DFD
triadic
#8E7DFD #FD8E7D #7DFD8E
tetradic
#8E7DFD #FD7DAC #ECFD7D #7DFDCE
square
#8E7DFD #FD7DAC #ECFD7D #7DFDCE
split-complementary
#8E7DFD #FDCE7D #ACFD7D
monochromatic
#2504FB #5A41FC #8E7DFD #C2B9FE #E5E1FF

Accessibility & contrast

On white

3.23
#8E7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#8E7DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7DFD
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7DFD#FFFFFF#000000##000000
##8E7DFD1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#408CFA
Tritanopia (blue-blind)
#6B98B1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8e7dfd;
/* rgb */ color: rgb(142, 125, 253);
/* oklch */ color: oklch(66.5% 0.183 286.4);
Tailwind
colors: {
  custom: {
    50: '#b5a3ff',
    500: '#8e7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #8e7dfd;
$custom-light: #b5a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7dfd",
  "rgb": {
    "r": 142,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 247.969,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.66544,
    "c": 0.18342,
    "h": 286.4
  },
  "luminance": 0.2751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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