#8A7FC7#8A7FC7

#8A7FC7 is a light, moderate blue. Relative luminance 0.247; OKLCH L 63.5% C 0.107 H 290.0°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8A7FC7
RGBrgb(138, 127, 199)
HSLhsl(249, 39%, 64%)
HSVhsv(249, 36%, 78%)
CMYKcmyk(30.7%, 36.2%, 0%, 22%)
CIE-LABlab(56.79, 20.44, -35.97)
CIE-LCHlch(56.79, 41.38, 299.61°)
OKLaboklab(63.54% 0.0366 -0.1003)
OKLCHoklch(63.54% 0.107 290)
XYZxyz(28.3768, 24.7049, 57.2952)
Luminance0.2471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FC7 #BCC77F
analogous
#7F98C7 #8A7FC7 #AE7FC7
triadic
#8A7FC7 #C78A7F #7FC78A
tetradic
#8A7FC7 #C77F98 #BCC77F #7FC7AE
square
#8A7FC7 #C77F98 #BCC77F #7FC7AE
split-complementary
#8A7FC7 #C7AE7F #98C77F
monochromatic
#4A3E8E #6354B4 #8A7FC7 #B1AADA #D8D4EC

Accessibility & contrast

On white

3.53
#8A7FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#8A7FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FC7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FC7#FFFFFF#000000##000000
##8A7FC71.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8ACA
Deuteranopia (green-blind)
#6B87C5
Tritanopia (blue-blind)
#7C8C9A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a7fc7;
/* rgb */ color: rgb(138, 127, 199);
/* oklch */ color: oklch(63.5% 0.107 290.0);
Tailwind
colors: {
  custom: {
    50: '#aea4d8',
    500: '#8a7fc7',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fc7;
$custom-light: #aea4d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fc7",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 199
  },
  "hsl": {
    "h": 249.167,
    "s": 39.13,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63542,
    "c": 0.1068,
    "h": 290
  },
  "luminance": 0.24706
}

Semantic roles & 50–950 ramp

primary
#8A7FC7
secondary
#DADEC4
accent
#B2339F
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#100F14
muted
#7F7F83

Preview Lab

Preview with #8A7FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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