#8A367E#8A367E

#8A367E is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.6% C 0.145 H 333.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8A367E
RGBrgb(138, 54, 126)
HSLhsl(309, 44%, 38%)
HSVhsv(309, 61%, 54%)
CMYKcmyk(0%, 60.9%, 8.7%, 45.9%)
CIE-LABlab(37.02, 45.02, -23.69)
CIE-LCHlch(37.02, 50.88, 332.24°)
OKLaboklab(47.59% 0.1298 -0.0646)
OKLCHoklch(47.59% 0.145 333.5)
XYZxyz(15.5663, 9.5491, 20.7579)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A367E #368A42
analogous
#6C368A #8A367E #8A3654
triadic
#8A367E #7E8A36 #367E8A
tetradic
#8A367E #8A6C36 #368A42 #36548A
square
#8A367E #8A6C36 #368A42 #36548A
split-complementary
#8A367E #548A36 #368A6C
monochromatic
#32142E #5E2556 #8A367E #B647A6 #C872BC

Accessibility & contrast

On white

7.22
#8A367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8A367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A367E
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A367E#FFFFFF#000000##FFFFFF
##8A367E1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F80
Deuteranopia (green-blind)
#4F5C7C
Tritanopia (blue-blind)
#903C55
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a367e;
/* rgb */ color: rgb(138, 54, 126);
/* oklch */ color: oklch(47.6% 0.145 333.5);
Tailwind
colors: {
  custom: {
    50: '#af72a3',
    500: '#8a367e',
    950: '#000000',
  },
}
SCSS
$custom: #8a367e;
$custom-light: #af72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a367e",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 308.571,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47585,
    "c": 0.14499,
    "h": 333.5
  },
  "luminance": 0.09548
}

Semantic roles & 50–950 ramp

primary
#8A367E
secondary
#6BB175
accent
#D36654
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A367E

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

Preview Lab → · Contrast checker → · Palette generator →

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