#8A368A#8A368A

#8A368A is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.2% C 0.155 H 327.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8A368A
RGBrgb(138, 54, 138)
HSLhsl(300, 44%, 38%)
HSVhsv(300, 61%, 54%)
CMYKcmyk(0%, 60.9%, 0%, 45.9%)
CIE-LABlab(37.62, 47.16, -30.15)
CIE-LCHlch(37.62, 55.98, 327.41°)
OKLaboklab(48.22% 0.1313 -0.0831)
OKLCHoklch(48.22% 0.155 327.7)
XYZxyz(16.3876, 9.8776, 25.0832)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A368A #368A36
analogous
#60368A #8A368A #8A3660
triadic
#8A368A #8A8A36 #368A8A
tetradic
#8A368A #8A6036 #368A36 #36608A
square
#8A368A #8A6036 #368A36 #36608A
split-complementary
#8A368A #608A36 #368A60
monochromatic
#321432 #5E255E #8A368A #B647B6 #C872C8

Accessibility & contrast

On white

7.06
#8A368A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8A368A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A368A
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A368A#FFFFFF#000000##FFFFFF
##8A368A1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518D
Deuteranopia (green-blind)
#495C88
Tritanopia (blue-blind)
#8E405B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a368a;
/* rgb */ color: rgb(138, 54, 138);
/* oklch */ color: oklch(48.2% 0.155 327.7);
Tailwind
colors: {
  custom: {
    50: '#af73ac',
    500: '#8a368a',
    950: '#000000',
  },
}
SCSS
$custom: #8a368a;
$custom-light: #af73ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a368a",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4822,
    "c": 0.15542,
    "h": 327.7
  },
  "luminance": 0.09877
}

Semantic roles & 50–950 ramp

primary
#8A368A
secondary
#6BB16B
accent
#D35454
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A368A

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

Preview Lab → · Contrast checker → · Palette generator →

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