#8A367F#8A367F

#8A367F is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.6% C 0.146 H 333.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8A367F
RGBrgb(138, 54, 127)
HSLhsl(308, 44%, 38%)
HSVhsv(308, 61%, 54%)
CMYKcmyk(0%, 60.9%, 8%, 45.9%)
CIE-LABlab(37.07, 45.19, -24.24)
CIE-LCHlch(37.07, 51.28, 331.80°)
OKLaboklab(47.64% 0.13 -0.0662)
OKLCHoklch(47.64% 0.146 333)
XYZxyz(15.6312, 9.5751, 21.0994)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A367F #368A41
analogous
#6B368A #8A367F #8A3655
triadic
#8A367F #7F8A36 #367F8A
tetradic
#8A367F #8A6B36 #368A41 #36558A
square
#8A367F #8A6B36 #368A41 #36558A
split-complementary
#8A367F #558A36 #368A6B
monochromatic
#32142E #5E2557 #8A367F #B647A7 #C872BD

Accessibility & contrast

On white

7.20
#8A367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A367F
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A367F#FFFFFF#000000##FFFFFF
##8A367F1.007.202.917.20
#FFFFFF7.201.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a367f;
/* rgb */ color: rgb(138, 54, 127);
/* oklch */ color: oklch(47.6% 0.146 333.0);
Tailwind
colors: {
  custom: {
    50: '#af72a4',
    500: '#8a367f',
    950: '#000000',
  },
}
SCSS
$custom: #8a367f;
$custom-light: #af72a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a367f",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 307.857,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47636,
    "c": 0.14583,
    "h": 333
  },
  "luminance": 0.09574
}

Semantic roles & 50–950 ramp

primary
#8A367F
secondary
#6BB174
accent
#D36554
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A367F

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

Preview Lab → · Contrast checker → · Palette generator →

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