#8A4E9F#8A4E9F

#8A4E9F is a mid, vivid purple. Relative luminance 0.134; OKLCH L 52.7% C 0.137 H 316.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8A4E9F
RGBrgb(138, 78, 159)
HSLhsl(284, 34%, 46%)
HSVhsv(284, 51%, 62%)
CMYKcmyk(13.2%, 50.9%, 0%, 37.6%)
CIE-LABlab(43.29, 39.13, -33.91)
CIE-LCHlch(43.29, 51.78, 319.08°)
OKLaboklab(52.74% 0.1001 -0.0942)
OKLCHoklch(52.74% 0.137 316.7)
XYZxyz(19.4627, 13.3559, 34.3469)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E9F #639F4E
analogous
#624E9F #8A4E9F #9F4E8C
triadic
#8A4E9F #9F8A4E #4E9F8A
tetradic
#8A4E9F #9F624E #639F4E #4E8C9F
square
#8A4E9F #9F624E #639F4E #4E8C9F
split-complementary
#8A4E9F #8C9F4E #4E9F62
monochromatic
#43264D #663A76 #8A4E9F #A771B9 #C09ACD

Accessibility & contrast

On white

5.72
#8A4E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8A4E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E9F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E9F#FFFFFF#000000##FFFFFF
##8A4E9F1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E62A2
Deuteranopia (green-blind)
#50689D
Tritanopia (blue-blind)
#895A6F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a4e9f;
/* rgb */ color: rgb(138, 78, 159);
/* oklch */ color: oklch(52.7% 0.137 316.7);
Tailwind
colors: {
  custom: {
    50: '#ae82bc',
    500: '#8a4e9f',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e9f;
$custom-light: #ae82bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e9f",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 284.444,
    "s": 34.177,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52742,
    "c": 0.13748,
    "h": 316.7
  },
  "luminance": 0.13355
}

Semantic roles & 50–950 ramp

primary
#8A4E9F
secondary
#9ABA8F
accent
#CA5E7A
background
#FAF8FB
surface
#F5EFF6
border
#CFCAD0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #8A4E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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