#8A7FCB#8A7FCB

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

Color values

HEX#8A7FCB
RGBrgb(138, 127, 203)
HSLhsl(249, 42%, 65%)
HSVhsv(249, 37%, 80%)
CMYKcmyk(32%, 37.4%, 0%, 20.4%)
CIE-LABlab(56.97, 21.48, -37.95)
CIE-LCHlch(56.97, 43.61, 299.52°)
OKLaboklab(63.74% 0.0375 -0.1061)
OKLCHoklch(63.74% 0.113 289.4)
XYZxyz(28.8473, 24.8932, 59.7733)
Luminance0.2489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FCB #C0CB7F
analogous
#7F9ACB #8A7FCB #B07FCB
triadic
#8A7FCB #CB8A7F #7FCB8A
tetradic
#8A7FCB #CB7F9A #C0CB7F #7FCBB0
square
#8A7FCB #CB7F9A #C0CB7F #7FCBB0
split-complementary
#8A7FCB #CBB07F #9ACB7F
monochromatic
#493C94 #6253B9 #8A7FCB #B2ABDD #DAD6EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7FCB#FFFFFF#000000##000000
##8A7FCB1.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)
#688ACE
Deuteranopia (green-blind)
#6987C9
Tritanopia (blue-blind)
#7A8D9B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a7fcb;
/* rgb */ color: rgb(138, 127, 203);
/* oklch */ color: oklch(63.7% 0.113 289.4);
Tailwind
colors: {
  custom: {
    50: '#aea4db',
    500: '#8a7fcb',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fcb;
$custom-light: #aea4db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fcb",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 248.684,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63744,
    "c": 0.1125,
    "h": 289.4
  },
  "luminance": 0.24894
}

Semantic roles & 50–950 ramp

primary
#8A7FCB
secondary
#DCE0C6
accent
#B530A2
background
#FAFAFD
surface
#F5F4FB
border
#CFCED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #8A7FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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