#8A367D#8A367D

#8A367D is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.5% C 0.144 H 334.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8A367D
RGBrgb(138, 54, 125)
HSLhsl(309, 44%, 38%)
HSVhsv(309, 61%, 54%)
CMYKcmyk(0%, 60.9%, 9.4%, 45.9%)
CIE-LABlab(36.97, 44.85, -23.15)
CIE-LCHlch(36.97, 50.47, 332.70°)
OKLaboklab(47.54% 0.1296 -0.063)
OKLCHoklch(47.54% 0.144 334.1)
XYZxyz(15.5021, 9.5234, 20.4198)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A367D #368A43
analogous
#6D368A #8A367D #8A3653
triadic
#8A367D #7D8A36 #367D8A
tetradic
#8A367D #8A6D36 #368A43 #36538A
square
#8A367D #8A6D36 #368A43 #36538A
split-complementary
#8A367D #538A36 #368A6D
monochromatic
#32142D #5E2555 #8A367D #B647A5 #C872BB

Accessibility & contrast

On white

7.23
#8A367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8A367D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A367D
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A367D#FFFFFF#000000##FFFFFF
##8A367D1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7F
Deuteranopia (green-blind)
#4F5B7B
Tritanopia (blue-blind)
#903C54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a367d;
/* rgb */ color: rgb(138, 54, 125);
/* oklch */ color: oklch(47.5% 0.144 334.1);
Tailwind
colors: {
  custom: {
    50: '#af72a3',
    500: '#8a367d',
    950: '#000000',
  },
}
SCSS
$custom: #8a367d;
$custom-light: #af72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a367d",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 309.286,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47535,
    "c": 0.14416,
    "h": 334.1
  },
  "luminance": 0.09522
}

Semantic roles & 50–950 ramp

primary
#8A367D
secondary
#6BB176
accent
#D36854
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A367D

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

Preview Lab → · Contrast checker → · Palette generator →

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