#8A7FC0#8A7FC0

#8A7FC0 is a light, moderate violet. Relative luminance 0.244; OKLCH L 63.2% C 0.097 H 291.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8A7FC0
RGBrgb(138, 127, 192)
HSLhsl(250, 34%, 63%)
HSVhsv(250, 34%, 75%)
CMYKcmyk(28.1%, 33.9%, 0%, 24.7%)
CIE-LABlab(56.47, 18.65, -32.48)
CIE-LCHlch(56.47, 37.45, 299.86°)
OKLaboklab(63.2% 0.0349 -0.0903)
OKLCHoklch(63.2% 0.097 291.1)
XYZxyz(27.5827, 24.3873, 53.1130)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FC0 #B5C07F
analogous
#7F94C0 #8A7FC0 #AA7FC0
triadic
#8A7FC0 #C08A7F #7FC08A
tetradic
#8A7FC0 #C07F94 #B5C07F #7FC0AA
square
#8A7FC0 #C07F94 #B5C07F #7FC0AA
split-complementary
#8A7FC0 #C0AA7F #94C07F
monochromatic
#4C4184 #6556AC #8A7FC0 #AFA8D4 #D5D1E8

Accessibility & contrast

On white

3.57
#8A7FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#8A7FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FC0
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FC0#FFFFFF#000000##000000
##8A7FC01.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D89C3
Deuteranopia (green-blind)
#6E86BE
Tritanopia (blue-blind)
#7E8A97
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a7fc0;
/* rgb */ color: rgb(138, 127, 192);
/* oklch */ color: oklch(63.2% 0.097 291.1);
Tailwind
colors: {
  custom: {
    50: '#ada4d3',
    500: '#8a7fc0',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fc0;
$custom-light: #ada4d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fc0",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 192
  },
  "hsl": {
    "h": 250.154,
    "s": 34.031,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63199,
    "c": 0.0968,
    "h": 291.1
  },
  "luminance": 0.24388
}

Semantic roles & 50–950 ramp

primary
#8A7FC0
secondary
#D5D9C2
accent
#AD3999
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#100F14
muted
#7F7F82

Preview Lab

Preview with #8A7FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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