#8D7FD4#8D7FD4

#8D7FD4 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.5% C 0.125 H 290.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8D7FD4
RGBrgb(141, 127, 212)
HSLhsl(250, 50%, 66%)
HSVhsv(250, 40%, 83%)
CMYKcmyk(33.5%, 40.1%, 0%, 16.9%)
CIE-LABlab(57.65, 24.69, -41.95)
CIE-LCHlch(57.65, 48.67, 300.48°)
OKLaboklab(64.46% 0.0428 -0.1176)
OKLCHoklch(64.46% 0.125 290)
XYZxyz(30.4544, 25.5942, 65.6102)
Luminance0.2560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7FD4 #C6D47F
analogous
#7F9CD4 #8D7FD4 #B87FD4
triadic
#8D7FD4 #D48D7F #7FD48D
tetradic
#8D7FD4 #D47F9C #C6D47F #7FD4B8
square
#8D7FD4 #D47F9C #C6D47F #7FD4B8
split-complementary
#8D7FD4 #D4B87F #9CD47F
monochromatic
#4836A2 #6451C5 #8D7FD4 #B6ADE3 #DFDBF3

Accessibility & contrast

On white

3.43
#8D7FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#8D7FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7FD4
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7FD4#FFFFFF#000000##000000
##8D7FD41.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#658CD7
Deuteranopia (green-blind)
#6589D2
Tritanopia (blue-blind)
#7C8F9F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8d7fd4;
/* rgb */ color: rgb(141, 127, 212);
/* oklch */ color: oklch(64.5% 0.125 290.0);
Tailwind
colors: {
  custom: {
    50: '#b1a4e1',
    500: '#8d7fd4',
    950: '#000000',
  },
}
SCSS
$custom: #8d7fd4;
$custom-light: #b1a4e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7fd4",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 212
  },
  "hsl": {
    "h": 249.882,
    "s": 49.708,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64462,
    "c": 0.12514,
    "h": 290
  },
  "luminance": 0.25595
}

Semantic roles & 50–950 ramp

primary
#8D7FD4
secondary
#E1E5CA
accent
#BD28A5
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #8D7FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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