#8A7FBE#8A7FBE

#8A7FBE is a light, moderate violet. Relative luminance 0.243; OKLCH L 63.1% C 0.094 H 291.5°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8A7FBE
RGBrgb(138, 127, 190)
HSLhsl(250, 33%, 62%)
HSVhsv(250, 33%, 75%)
CMYKcmyk(27.4%, 33.2%, 0%, 25.5%)
CIE-LABlab(56.39, 18.14, -31.48)
CIE-LCHlch(56.39, 36.33, 299.95°)
OKLaboklab(63.1% 0.0344 -0.0874)
OKLCHoklch(63.1% 0.094 291.5)
XYZxyz(27.3626, 24.2993, 51.9538)
Luminance0.2430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FBE #B3BE7F
analogous
#7F94BE #8A7FBE #A97FBE
triadic
#8A7FBE #BE8A7F #7FBE8A
tetradic
#8A7FBE #BE7F94 #B3BE7F #7FBEA9
square
#8A7FBE #BE7F94 #B3BE7F #7FBEA9
split-complementary
#8A7FBE #BEA97F #94BE7F
monochromatic
#4D4281 #6556A9 #8A7FBE #AFA8D3 #D4D0E7

Accessibility & contrast

On white

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

On black

5.86
#8A7FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FBE
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FBE#FFFFFF#000000##000000
##8A7FBE1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E88C1
Deuteranopia (green-blind)
#6F86BC
Tritanopia (blue-blind)
#7F8A96
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a7fbe;
/* rgb */ color: rgb(138, 127, 190);
/* oklch */ color: oklch(63.1% 0.094 291.5);
Tailwind
colors: {
  custom: {
    50: '#ada4d2',
    500: '#8a7fbe',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fbe;
$custom-light: #ada4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fbe",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 190
  },
  "hsl": {
    "h": 250.476,
    "s": 32.642,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63104,
    "c": 0.09393,
    "h": 291.5
  },
  "luminance": 0.243
}

Semantic roles & 50–950 ramp

primary
#8A7FBE
secondary
#D4D8C1
accent
#AB3A98
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#100F14
muted
#7F7F82

Preview Lab

Preview with #8A7FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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