#8D7DF4#8D7DF4

#8D7DF4 is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.9% C 0.172 H 286.9°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8D7DF4
RGBrgb(141, 125, 244)
HSLhsl(248, 84%, 72%)
HSVhsv(248, 49%, 96%)
CMYKcmyk(42.2%, 48.8%, 0%, 4.3%)
CIE-LABlab(58.84, 34.55, -57.91)
CIE-LCHlch(58.84, 67.43, 300.82°)
OKLaboklab(65.91% 0.0498 -0.1642)
OKLCHoklch(65.91% 0.172 286.9)
XYZxyz(34.6426, 26.8603, 88.9297)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7DF4 #E4F47D
analogous
#7DA9F4 #8D7DF4 #C87DF4
triadic
#8D7DF4 #F48D7D #7DF48D
tetradic
#8D7DF4 #F47DA9 #E4F47D #7DF4C8
square
#8D7DF4 #F47DA9 #E4F47D #7DF4C8
split-complementary
#8D7DF4 #F4C87D #A9F47D
monochromatic
#2F13E3 #5C45EF #8D7DF4 #BEB5F9 #E6E3FD

Accessibility & contrast

On white

3.30
#8D7DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#8D7DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7DF4
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7DF4#FFFFFF#000000##000000
##8D7DF41.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B91F8
Deuteranopia (green-blind)
#4A8AF1
Tritanopia (blue-blind)
#6E96AD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8d7df4;
/* rgb */ color: rgb(141, 125, 244);
/* oklch */ color: oklch(65.9% 0.172 286.9);
Tailwind
colors: {
  custom: {
    50: '#b3a3f8',
    500: '#8d7df4',
    950: '#000000',
  },
}
SCSS
$custom: #8d7df4;
$custom-light: #b3a3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7df4",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 248.067,
    "s": 84.397,
    "l": 72.353
  },
  "oklch": {
    "l": 0.6591,
    "c": 0.17163,
    "h": 286.9
  },
  "luminance": 0.26862
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D7DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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