#8B7FC9#8B7FC9

#8B7FC9 is a light, moderate blue. Relative luminance 0.249; OKLCH L 63.7% C 0.110 H 290.4°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8B7FC9
RGBrgb(139, 127, 201)
HSLhsl(250, 41%, 64%)
HSVhsv(250, 37%, 79%)
CMYKcmyk(30.8%, 36.8%, 0%, 21.2%)
CIE-LABlab(56.96, 21.25, -36.82)
CIE-LCHlch(56.96, 42.52, 299.98°)
OKLaboklab(63.73% 0.0382 -0.1028)
OKLCHoklch(63.73% 0.11 290.4)
XYZxyz(28.7767, 24.8842, 58.5340)
Luminance0.2488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7FC9 #BDC97F
analogous
#7F98C9 #8B7FC9 #B07FC9
triadic
#8B7FC9 #C98B7F #7FC98B
tetradic
#8B7FC9 #C97F98 #BDC97F #7FC9B0
square
#8B7FC9 #C97F98 #BDC97F #7FC9B0
split-complementary
#8B7FC9 #C9B07F #98C97F
monochromatic
#4B3D91 #6454B7 #8B7FC9 #B2AADB #D9D5ED

Accessibility & contrast

On white

3.51
#8B7FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8B7FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7FC9
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7FC9#FFFFFF#000000##000000
##8B7FC91.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8ACC
Deuteranopia (green-blind)
#6A87C7
Tritanopia (blue-blind)
#7D8C9A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8b7fc9;
/* rgb */ color: rgb(139, 127, 201);
/* oklch */ color: oklch(63.7% 0.110 290.4);
Tailwind
colors: {
  custom: {
    50: '#afa4d9',
    500: '#8b7fc9',
    950: '#000000',
  },
}
SCSS
$custom: #8b7fc9;
$custom-light: #afa4d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7fc9",
  "rgb": {
    "r": 139,
    "g": 127,
    "b": 201
  },
  "hsl": {
    "h": 249.73,
    "s": 40.659,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63727,
    "c": 0.10966,
    "h": 290.4
  },
  "luminance": 0.24885
}

Semantic roles & 50–950 ramp

primary
#8B7FC9
secondary
#DBDFC5
accent
#B4329F
background
#FAFAFD
surface
#F5F4FA
border
#CFCED3
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #8B7FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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