#8D7AAA#8D7AAA

#8D7AAA is a mid, moderate violet. Relative luminance 0.225; OKLCH L 61.5% C 0.074 H 302.4°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8D7AAA
RGBrgb(141, 122, 170)
HSLhsl(264, 22%, 57%)
HSVhsv(264, 28%, 67%)
CMYKcmyk(17.1%, 28.2%, 0%, 33.3%)
CIE-LABlab(54.54, 17.17, -22.85)
CIE-LCHlch(54.54, 28.58, 306.92°)
OKLaboklab(61.47% 0.0398 -0.0627)
OKLCHoklch(61.47% 0.074 302.4)
XYZxyz(25.1983, 22.4841, 41.0348)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7AAA #97AA7A
analogous
#7A7FAA #8D7AAA #A57AAA
triadic
#8D7AAA #AA8D7A #7AAA8D
tetradic
#8D7AAA #AA7A7F #97AA7A #7AAAA5
square
#8D7AAA #AA7A7F #97AA7A #7AAAA5
split-complementary
#8D7AAA #AAA57A #7FAA7A
monochromatic
#514267 #6E5A8D #8D7AAA #AD9FC2 #CDC5DA

Accessibility & contrast

On white

3.82
#8D7AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8D7AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7AAA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7AAA#FFFFFF#000000##000000
##8D7AAA1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7082AC
Deuteranopia (green-blind)
#7482A9
Tritanopia (blue-blind)
#88818B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d7aaa;
/* rgb */ color: rgb(141, 122, 170);
/* oklch */ color: oklch(61.5% 0.074 302.4);
Tailwind
colors: {
  custom: {
    50: '#afa0c3',
    500: '#8d7aaa',
    950: '#000000',
  },
}
SCSS
$custom: #8d7aaa;
$custom-light: #afa0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7aaa",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 263.75,
    "s": 22.018,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61474,
    "c": 0.07425,
    "h": 302.4
  },
  "luminance": 0.22484
}

Semantic roles & 50–950 ramp

primary
#8D7AAA
secondary
#C2CAB6
accent
#BF699D
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8D7AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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