#8D7DF1#8D7DF1

#8D7DF1 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.7% C 0.168 H 287.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8D7DF1
RGBrgb(141, 125, 241)
HSLhsl(248, 81%, 72%)
HSVhsv(248, 48%, 95%)
CMYKcmyk(41.5%, 48.1%, 0%, 5.5%)
CIE-LABlab(58.68, 33.72, -56.51)
CIE-LCHlch(58.68, 65.81, 300.82°)
OKLaboklab(65.73% 0.0495 -0.1602)
OKLCHoklch(65.73% 0.168 287.2)
XYZxyz(34.1908, 26.6796, 86.5502)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7DF1 #E1F17D
analogous
#7DA7F1 #8D7DF1 #C77DF1
triadic
#8D7DF1 #F18D7D #7DF18D
tetradic
#8D7DF1 #F17DA7 #E1F17D #7DF1C7
square
#8D7DF1 #F17DA7 #E1F17D #7DF1C7
split-complementary
#8D7DF1 #F1C77D #A7F17D
monochromatic
#3318DC #5D46EB #8D7DF1 #BDB4F7 #E7E3FC

Accessibility & contrast

On white

3.31
#8D7DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#8D7DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7DF1
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7DF1#FFFFFF#000000##000000
##8D7DF11.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E90F5
Deuteranopia (green-blind)
#4D8AEE
Tritanopia (blue-blind)
#7095AC
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d7df1;
/* rgb */ color: rgb(141, 125, 241);
/* oklch */ color: oklch(65.7% 0.168 287.2);
Tailwind
colors: {
  custom: {
    50: '#b3a3f6',
    500: '#8d7df1',
    950: '#000000',
  },
}
SCSS
$custom: #8d7df1;
$custom-light: #b3a3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7df1",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 241
  },
  "hsl": {
    "h": 248.276,
    "s": 80.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.65729,
    "c": 0.16764,
    "h": 287.2
  },
  "luminance": 0.26681
}

Semantic roles & 50–950 ramp

primary
#8D7DF1
secondary
#F0F4D6
accent
#DD09C0
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8D7DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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