#8D7DF5#8D7DF5

#8D7DF5 is a light, vivid blue. Relative luminance 0.269; OKLCH L 66.0% C 0.173 H 286.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8D7DF5
RGBrgb(141, 125, 245)
HSLhsl(248, 86%, 73%)
HSVhsv(248, 49%, 96%)
CMYKcmyk(42.4%, 49%, 0%, 3.9%)
CIE-LABlab(58.90, 34.83, -58.37)
CIE-LCHlch(58.90, 67.97, 300.83°)
OKLaboklab(65.97% 0.0499 -0.1656)
OKLCHoklch(65.97% 0.173 286.8)
XYZxyz(34.7949, 26.9212, 89.7315)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7DF5 #E5F57D
analogous
#7DA9F5 #8D7DF5 #C97DF5
triadic
#8D7DF5 #F58D7D #7DF58D
tetradic
#8D7DF5 #F57DA9 #E5F57D #7DF5C9
square
#8D7DF5 #F57DA9 #E5F57D #7DF5C9
split-complementary
#8D7DF5 #F5C97D #A9F57D
monochromatic
#2E12E6 #5B44F1 #8D7DF5 #BFB6F9 #E6E3FD

Accessibility & contrast

On white

3.29
#8D7DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#8D7DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7DF5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7DF5#FFFFFF#000000##000000
##8D7DF51.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A91F9
Deuteranopia (green-blind)
#498AF2
Tritanopia (blue-blind)
#6E96AD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8d7df5;
/* rgb */ color: rgb(141, 125, 245);
/* oklch */ color: oklch(66.0% 0.173 286.8);
Tailwind
colors: {
  custom: {
    50: '#b3a3f9',
    500: '#8d7df5',
    950: '#000000',
  },
}
SCSS
$custom: #8d7df5;
$custom-light: #b3a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7df5",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 248,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65971,
    "c": 0.17296,
    "h": 286.8
  },
  "luminance": 0.26923
}

Semantic roles & 50–950 ramp

primary
#8D7DF5
secondary
#F1F5D6
accent
#E203C4
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8D7DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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