#8A7FC9#8A7FC9

#8A7FC9 is a light, moderate blue. Relative luminance 0.248; OKLCH L 63.6% C 0.110 H 289.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8A7FC9
RGBrgb(138, 127, 201)
HSLhsl(249, 41%, 64%)
HSVhsv(249, 37%, 79%)
CMYKcmyk(31.3%, 36.8%, 0%, 21.2%)
CIE-LABlab(56.88, 20.96, -36.96)
CIE-LCHlch(56.88, 42.49, 299.56°)
OKLaboklab(63.64% 0.037 -0.1032)
OKLCHoklch(63.64% 0.11 289.7)
XYZxyz(28.6105, 24.7984, 58.5262)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FC9 #BEC97F
analogous
#7F99C9 #8A7FC9 #AF7FC9
triadic
#8A7FC9 #C98A7F #7FC98A
tetradic
#8A7FC9 #C97F99 #BEC97F #7FC9AF
square
#8A7FC9 #C97F99 #BEC97F #7FC9AF
split-complementary
#8A7FC9 #C9AF7F #99C97F
monochromatic
#493D91 #6354B7 #8A7FC9 #B1AADB #D9D5ED

Accessibility & contrast

On white

3.52
#8A7FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#8A7FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FC9
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FC9#FFFFFF#000000##000000
##8A7FC91.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ACC
Deuteranopia (green-blind)
#6A87C7
Tritanopia (blue-blind)
#7B8C9A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a7fc9;
/* rgb */ color: rgb(138, 127, 201);
/* oklch */ color: oklch(63.6% 0.110 289.7);
Tailwind
colors: {
  custom: {
    50: '#aea4d9',
    500: '#8a7fc9',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fc9;
$custom-light: #aea4d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fc9",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 201
  },
  "hsl": {
    "h": 248.919,
    "s": 40.659,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63642,
    "c": 0.10965,
    "h": 289.7
  },
  "luminance": 0.24799
}

Semantic roles & 50–950 ramp

primary
#8A7FC9
secondary
#DBDFC5
accent
#B432A0
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #8A7FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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