#8A369E#8A369E

#8A369E is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.4% C 0.174 H 319.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8A369E
RGBrgb(138, 54, 158)
HSLhsl(288, 49%, 42%)
HSVhsv(288, 66%, 62%)
CMYKcmyk(12.7%, 65.8%, 0%, 38%)
CIE-LABlab(38.74, 51.01, -40.53)
CIE-LCHlch(38.74, 65.15, 321.53°)
OKLaboklab(49.4% 0.1321 -0.1133)
OKLCHoklch(49.4% 0.174 319.4)
XYZxyz(17.9712, 10.5111, 33.4233)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A369E #4A9E36
analogous
#56369E #8A369E #9E367E
triadic
#8A369E #9E8A36 #369E8A
tetradic
#8A369E #9E5636 #4A9E36 #367E9E
square
#8A369E #9E5636 #4A9E36 #367E9E
split-complementary
#8A369E #7E9E36 #369E56
monochromatic
#3A1743 #622670 #8A369E #AC4FC3 #C27CD2

Accessibility & contrast

On white

6.77
#8A369E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8A369E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A369E
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A369E#FFFFFF#000000##FFFFFF
##8A369E1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1556A1
Deuteranopia (green-blind)
#3D5E9B
Tritanopia (blue-blind)
#8A4865
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a369e;
/* rgb */ color: rgb(138, 54, 158);
/* oklch */ color: oklch(49.4% 0.174 319.4);
Tailwind
colors: {
  custom: {
    50: '#af73bb',
    500: '#8a369e',
    950: '#000000',
  },
}
SCSS
$custom: #8a369e;
$custom-light: #af73bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a369e",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 158
  },
  "hsl": {
    "h": 288.462,
    "s": 49.057,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49397,
    "c": 0.17404,
    "h": 319.4
  },
  "luminance": 0.1051
}

Semantic roles & 50–950 ramp

primary
#8A369E
secondary
#82BB74
accent
#D94F6A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A369E

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

Preview Lab → · Contrast checker → · Palette generator →

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