#8A7FC4#8A7FC4

#8A7FC4 is a light, moderate blue. Relative luminance 0.246; OKLCH L 63.4% C 0.103 H 290.5°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8A7FC4
RGBrgb(138, 127, 196)
HSLhsl(250, 37%, 63%)
HSVhsv(250, 35%, 77%)
CMYKcmyk(29.6%, 35.2%, 0%, 23.1%)
CIE-LABlab(56.65, 19.67, -34.48)
CIE-LCHlch(56.65, 39.70, 299.70°)
OKLaboklab(63.39% 0.0359 -0.096)
OKLCHoklch(63.39% 0.103 290.5)
XYZxyz(28.0319, 24.5670, 55.4789)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FC4 #B9C47F
analogous
#7F96C4 #8A7FC4 #AC7FC4
triadic
#8A7FC4 #C48A7F #7FC48A
tetradic
#8A7FC4 #C47F96 #B9C47F #7FC4AC
square
#8A7FC4 #C47F96 #B9C47F #7FC4AC
split-complementary
#8A7FC4 #C4AC7F #96C47F
monochromatic
#4B3F89 #6455B1 #8A7FC4 #B0A9D7 #D7D3EB

Accessibility & contrast

On white

3.55
#8A7FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#8A7FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FC4
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FC4#FFFFFF#000000##000000
##8A7FC41.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C89C7
Deuteranopia (green-blind)
#6C86C2
Tritanopia (blue-blind)
#7D8B98
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a7fc4;
/* rgb */ color: rgb(138, 127, 196);
/* oklch */ color: oklch(63.4% 0.103 290.5);
Tailwind
colors: {
  custom: {
    50: '#aea4d6',
    500: '#8a7fc4',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fc4;
$custom-light: #aea4d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fc4",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 196
  },
  "hsl": {
    "h": 249.565,
    "s": 36.898,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63394,
    "c": 0.10253,
    "h": 290.5
  },
  "luminance": 0.24568
}

Semantic roles & 50–950 ramp

primary
#8A7FC4
secondary
#D8DCC3
accent
#B0369C
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#100F14
muted
#7F7F83

Preview Lab

Preview with #8A7FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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