#8A7ABE#8A7ABE

#8A7ABE is a light, moderate violet. Relative luminance 0.230; OKLCH L 62.1% C 0.102 H 294.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8A7ABE
RGBrgb(138, 122, 190)
HSLhsl(254, 34%, 61%)
HSVhsv(254, 36%, 75%)
CMYKcmyk(27.4%, 35.8%, 0%, 25.5%)
CIE-LABlab(55.11, 21.07, -33.46)
CIE-LCHlch(55.11, 39.55, 302.20°)
OKLaboklab(62.13% 0.0415 -0.0931)
OKLCHoklch(62.13% 0.102 294)
XYZxyz(26.7328, 23.0397, 51.7439)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7ABE #AEBE7A
analogous
#7A8CBE #8A7ABE #AC7ABE
triadic
#8A7ABE #BE8A7A #7ABE8A
tetradic
#8A7ABE #BE7A8C #AEBE7A #7ABEAC
square
#8A7ABE #BE7A8C #AEBE7A #7ABEAC
split-complementary
#8A7ABE #BEAC7A #8CBE7A
monochromatic
#4E3E7F #6752A8 #8A7ABE #AEA3D2 #D2CCE6

Accessibility & contrast

On white

3.74
#8A7ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#8A7ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7ABE
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7ABE#FFFFFF#000000##000000
##8A7ABE1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6885C1
Deuteranopia (green-blind)
#6A83BC
Tritanopia (blue-blind)
#7F8693
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a7abe;
/* rgb */ color: rgb(138, 122, 190);
/* oklch */ color: oklch(62.1% 0.102 294.0);
Tailwind
colors: {
  custom: {
    50: '#ada0d2',
    500: '#8a7abe',
    950: '#000000',
  },
}
SCSS
$custom: #8a7abe;
$custom-light: #ada0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7abe",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 190
  },
  "hsl": {
    "h": 254.118,
    "s": 34.343,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62129,
    "c": 0.10195,
    "h": 294
  },
  "luminance": 0.2304
}

Semantic roles & 50–950 ramp

primary
#8A7ABE
secondary
#D1D7BD
accent
#AD3892
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A7ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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