#8A7DAE#8A7DAE

#8A7DAE is a mid, moderate violet. Relative luminance 0.231; OKLCH L 62.0% C 0.074 H 296.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8A7DAE
RGBrgb(138, 125, 174)
HSLhsl(256, 23%, 59%)
HSVhsv(256, 28%, 68%)
CMYKcmyk(20.7%, 28.2%, 0%, 31.8%)
CIE-LABlab(55.20, 15.38, -24.15)
CIE-LCHlch(55.20, 28.63, 302.48°)
OKLaboklab(61.97% 0.0329 -0.0665)
OKLCHoklch(61.97% 0.074 296.4)
XYZxyz(25.4531, 23.1263, 43.1590)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7DAE #A1AE7D
analogous
#7D88AE #8A7DAE #A27DAE
triadic
#8A7DAE #AE8A7D #7DAE8A
tetradic
#8A7DAE #AE7D88 #A1AE7D #7DAEA2
square
#8A7DAE #AE7D88 #A1AE7D #7DAEA2
split-complementary
#8A7DAE #AEA27D #88AE7D
monochromatic
#4F446D #6A5B93 #8A7DAE #ACA3C5 #CEC8DD

Accessibility & contrast

On white

3.73
#8A7DAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8A7DAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7DAE
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7DAE#FFFFFF#000000##000000
##8A7DAE1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7284B0
Deuteranopia (green-blind)
#7484AD
Tritanopia (blue-blind)
#83858E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a7dae;
/* rgb */ color: rgb(138, 125, 174);
/* oklch */ color: oklch(62.0% 0.074 296.4);
Tailwind
colors: {
  custom: {
    50: '#ada2c6',
    500: '#8a7dae',
    950: '#000000',
  },
}
SCSS
$custom: #8a7dae;
$custom-light: #ada2c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7dae",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 174
  },
  "hsl": {
    "h": 255.918,
    "s": 23.223,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61974,
    "c": 0.07417,
    "h": 296.4
  },
  "luminance": 0.23126
}

Semantic roles & 50–950 ramp

primary
#8A7DAE
secondary
#C8CDBA
accent
#C068A8
background
#FAFAFC
surface
#F4F3F8
border
#CECDD1
text
#100F13
muted
#7F7F82

Preview Lab

Preview with #8A7DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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