#8A7EBD#8A7EBD

#8A7EBD is a light, moderate violet. Relative luminance 0.240; OKLCH L 62.9% C 0.094 H 292.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8A7EBD
RGBrgb(138, 126, 189)
HSLhsl(251, 32%, 62%)
HSVhsv(251, 33%, 74%)
CMYKcmyk(27%, 33.3%, 0%, 25.9%)
CIE-LABlab(56.09, 18.47, -31.38)
CIE-LCHlch(56.09, 36.41, 300.49°)
OKLaboklab(62.86% 0.0356 -0.0871)
OKLCHoklch(62.86% 0.094 292.2)
XYZxyz(27.1251, 23.9987, 51.3374)
Luminance0.2400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7EBD #B1BD7E
analogous
#7E92BD #8A7EBD #AA7EBD
triadic
#8A7EBD #BD8A7E #7EBD8A
tetradic
#8A7EBD #BD7E92 #B1BD7E #7EBDAA
square
#8A7EBD #BD7E92 #B1BD7E #7EBDAA
split-complementary
#8A7EBD #BDAA7E #92BD7E
monochromatic
#4D417F #6656A8 #8A7EBD #AFA6D2 #D3CFE6

Accessibility & contrast

On white

3.62
#8A7EBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8A7EBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7EBD
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7EBD#FFFFFF#000000##000000
##8A7EBD1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D87C0
Deuteranopia (green-blind)
#6E85BB
Tritanopia (blue-blind)
#7F8995
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a7ebd;
/* rgb */ color: rgb(138, 126, 189);
/* oklch */ color: oklch(62.9% 0.094 292.2);
Tailwind
colors: {
  custom: {
    50: '#ada3d1',
    500: '#8a7ebd',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ebd;
$custom-light: #ada3d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ebd",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 189
  },
  "hsl": {
    "h": 251.429,
    "s": 32.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6286,
    "c": 0.09409,
    "h": 292.2
  },
  "luminance": 0.23999
}

Semantic roles & 50–950 ramp

primary
#8A7EBD
secondary
#D3D7C0
accent
#AB3A96
background
#FAFAFC
surface
#F4F3F9
border
#CECDD2
text
#100F14
muted
#7F7F82

Preview Lab

Preview with #8A7EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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