#8A439D#8A439D

#8A439D is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.0% C 0.154 H 318.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8A439D
RGBrgb(138, 67, 157)
HSLhsl(287, 40%, 44%)
HSVhsv(287, 57%, 62%)
CMYKcmyk(12.1%, 57.3%, 0%, 38.4%)
CIE-LABlab(40.98, 44.54, -36.37)
CIE-LCHlch(40.98, 57.51, 320.77°)
OKLaboklab(51% 0.1154 -0.1013)
OKLCHoklch(51% 0.154 318.7)
XYZxyz(18.5734, 11.8526, 33.2012)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A439D #569D43
analogous
#5D439D #8A439D #9D4383
triadic
#8A439D #9D8A43 #439D8A
tetradic
#8A439D #9D5D43 #569D43 #43839D
square
#8A439D #9D5D43 #569D43 #43839D
split-complementary
#8A439D #839D43 #439D5D
monochromatic
#3F1E47 #643172 #8A439D #A961BC #C08CCE

Accessibility & contrast

On white

6.23
#8A439D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8A439D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A439D
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A439D#FFFFFF#000000##FFFFFF
##8A439D1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5CA0
Deuteranopia (green-blind)
#48639B
Tritanopia (blue-blind)
#8A5169
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a439d;
/* rgb */ color: rgb(138, 67, 157);
/* oklch */ color: oklch(51.0% 0.154 318.7);
Tailwind
colors: {
  custom: {
    50: '#ae7bba',
    500: '#8a439d',
    950: '#000000',
  },
}
SCSS
$custom: #8a439d;
$custom-light: #ae7bba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a439d",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 157
  },
  "hsl": {
    "h": 287.333,
    "s": 40.179,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51004,
    "c": 0.15356,
    "h": 318.7
  },
  "luminance": 0.11852
}

Semantic roles & 50–950 ramp

primary
#8A439D
secondary
#8EB983
accent
#D05871
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A439D

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

Preview Lab → · Contrast checker → · Palette generator →

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