#8A7FC2#8A7FC2

#8A7FC2 is a light, moderate blue. Relative luminance 0.245; OKLCH L 63.3% C 0.100 H 290.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8A7FC2
RGBrgb(138, 127, 194)
HSLhsl(250, 35%, 63%)
HSVhsv(250, 35%, 76%)
CMYKcmyk(28.9%, 34.5%, 0%, 23.9%)
CIE-LABlab(56.56, 19.16, -33.48)
CIE-LCHlch(56.56, 38.58, 299.77°)
OKLaboklab(63.3% 0.0354 -0.0932)
OKLCHoklch(63.3% 0.1 290.8)
XYZxyz(27.8058, 24.4765, 54.2880)
Luminance0.2448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FC2 #B7C27F
analogous
#7F95C2 #8A7FC2 #AB7FC2
triadic
#8A7FC2 #C28A7F #7FC28A
tetradic
#8A7FC2 #C27F95 #B7C27F #7FC2AB
square
#8A7FC2 #C27F95 #B7C27F #7FC2AB
split-complementary
#8A7FC2 #C2AB7F #95C27F
monochromatic
#4C4087 #6456AE #8A7FC2 #B0A8D6 #D6D2EA

Accessibility & contrast

On white

3.56
#8A7FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#8A7FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FC2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FC2#FFFFFF#000000##000000
##8A7FC21.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a7fc2;
/* rgb */ color: rgb(138, 127, 194);
/* oklch */ color: oklch(63.3% 0.100 290.8);
Tailwind
colors: {
  custom: {
    50: '#ada4d4',
    500: '#8a7fc2',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fc2;
$custom-light: #ada4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fc2",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 249.851,
    "s": 35.45,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63296,
    "c": 0.09967,
    "h": 290.8
  },
  "luminance": 0.24477
}

Semantic roles & 50–950 ramp

primary
#8A7FC2
secondary
#D6DAC2
accent
#AE379B
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#100F14
muted
#7F7F83

Preview Lab

Preview with #8A7FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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