#8A7BB0#8A7BB0

#8A7BB0 is a mid, moderate violet. Relative luminance 0.227; OKLCH L 61.7% C 0.080 H 297.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8A7BB0
RGBrgb(138, 123, 176)
HSLhsl(257, 25%, 59%)
HSVhsv(257, 30%, 69%)
CMYKcmyk(21.6%, 30.1%, 0%, 31%)
CIE-LABlab(54.77, 17.03, -25.98)
CIE-LCHlch(54.77, 31.06, 303.25°)
OKLaboklab(61.67% 0.0365 -0.0716)
OKLCHoklch(61.67% 0.08 297)
XYZxyz(25.3989, 22.7036, 44.1100)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7BB0 #A1B07B
analogous
#7B86B0 #8A7BB0 #A47BB0
triadic
#8A7BB0 #B08A7B #7BB08A
tetradic
#8A7BB0 #B07B86 #A1B07B #7BB0A4
square
#8A7BB0 #B07B86 #A1B07B #7BB0A4
split-complementary
#8A7BB0 #B0A47B #86B07B
monochromatic
#4F426E #6A5995 #8A7BB0 #ACA1C7 #CEC8DE

Accessibility & contrast

On white

3.79
#8A7BB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8A7BB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7BB0
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7BB0#FFFFFF#000000##000000
##8A7BB01.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F83B2
Deuteranopia (green-blind)
#7182AF
Tritanopia (blue-blind)
#83838E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a7bb0;
/* rgb */ color: rgb(138, 123, 176);
/* oklch */ color: oklch(61.7% 0.080 297.0);
Tailwind
colors: {
  custom: {
    50: '#ada1c7',
    500: '#8a7bb0',
    950: '#000000',
  },
}
SCSS
$custom: #8a7bb0;
$custom-light: #ada1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7bb0",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 176
  },
  "hsl": {
    "h": 256.981,
    "s": 25.118,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61665,
    "c": 0.08039,
    "h": 297
  },
  "luminance": 0.22704
}

Semantic roles & 50–950 ramp

primary
#8A7BB0
secondary
#C8CEB9
accent
#C266A8
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #8A7BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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