#8A7FBF#8A7FBF

#8A7FBF is a light, moderate violet. Relative luminance 0.243; OKLCH L 63.2% C 0.095 H 291.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8A7FBF
RGBrgb(138, 127, 191)
HSLhsl(250, 33%, 62%)
HSVhsv(250, 34%, 75%)
CMYKcmyk(27.7%, 33.5%, 0%, 25.1%)
CIE-LABlab(56.43, 18.39, -31.98)
CIE-LCHlch(56.43, 36.89, 299.90°)
OKLaboklab(63.15% 0.0346 -0.0888)
OKLCHoklch(63.15% 0.095 291.3)
XYZxyz(27.4722, 24.3431, 52.5314)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FBF #B4BF7F
analogous
#7F94BF #8A7FBF #AA7FBF
triadic
#8A7FBF #BF8A7F #7FBF8A
tetradic
#8A7FBF #BF7F94 #B4BF7F #7FBFAA
square
#8A7FBF #BF7F94 #B4BF7F #7FBFAA
split-complementary
#8A7FBF #BFAA7F #94BF7F
monochromatic
#4C4182 #6556AB #8A7FBF #AFA8D3 #D5D1E8

Accessibility & contrast

On white

3.58
#8A7FBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#8A7FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FBF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FBF#FFFFFF#000000##000000
##8A7FBF1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E88C2
Deuteranopia (green-blind)
#6E86BD
Tritanopia (blue-blind)
#7E8A96
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a7fbf;
/* rgb */ color: rgb(138, 127, 191);
/* oklch */ color: oklch(63.2% 0.095 291.3);
Tailwind
colors: {
  custom: {
    50: '#ada4d2',
    500: '#8a7fbf',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fbf;
$custom-light: #ada4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fbf",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 191
  },
  "hsl": {
    "h": 250.313,
    "s": 33.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63151,
    "c": 0.09536,
    "h": 291.3
  },
  "luminance": 0.24344
}

Semantic roles & 50–950 ramp

primary
#8A7FBF
secondary
#D5D9C1
accent
#AC3998
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#100F14
muted
#7F7F82

Preview Lab

Preview with #8A7FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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