#8A4289#8A4289

#8A4289 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 49.8% C 0.135 H 327.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8A4289
RGBrgb(138, 66, 137)
HSLhsl(301, 35%, 40%)
HSVhsv(301, 52%, 54%)
CMYKcmyk(0%, 52.2%, 0.7%, 45.9%)
CIE-LABlab(39.76, 41.06, -26.19)
CIE-LCHlch(39.76, 48.70, 327.47°)
OKLaboklab(49.77% 0.1145 -0.0718)
OKLCHoklch(49.77% 0.135 327.9)
XYZxyz(16.9445, 11.1068, 24.9134)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4289 #428A43
analogous
#67428A #8A4289 #8A4265
triadic
#8A4289 #898A42 #42898A
tetradic
#8A4289 #8A6742 #428A43 #42658A
square
#8A4289 #8A6742 #428A43 #42658A
split-complementary
#8A4289 #658A42 #428A67
monochromatic
#371A37 #612E60 #8A4289 #B059AF #C483C3

Accessibility & contrast

On white

6.52
#8A4289 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8A4289 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4289
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4289#FFFFFF#000000##FFFFFF
##8A42891.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588B
Deuteranopia (green-blind)
#516187
Tritanopia (blue-blind)
#8E4A5F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a4289;
/* rgb */ color: rgb(138, 66, 137);
/* oklch */ color: oklch(49.8% 0.135 327.9);
Tailwind
colors: {
  custom: {
    50: '#ae7aab',
    500: '#8a4289',
    950: '#000000',
  },
}
SCSS
$custom: #8a4289;
$custom-light: #ae7aab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4289",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 137
  },
  "hsl": {
    "h": 300.833,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.49772,
    "c": 0.13518,
    "h": 327.9
  },
  "luminance": 0.11106
}

Semantic roles & 50–950 ramp

primary
#8A4289
secondary
#79AE7A
accent
#CB5E5C
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #8A4289

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

Preview Lab → · Contrast checker → · Palette generator →

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