#8A368D#8A368D

#8A368D is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.4% C 0.158 H 326.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8A368D
RGBrgb(138, 54, 141)
HSLhsl(298, 45%, 38%)
HSVhsv(298, 62%, 55%)
CMYKcmyk(2.1%, 61.7%, 0%, 44.7%)
CIE-LABlab(37.78, 47.72, -31.74)
CIE-LCHlch(37.78, 57.31, 326.37°)
OKLaboklab(48.39% 0.1316 -0.0877)
OKLCHoklch(48.39% 0.158 326.3)
XYZxyz(16.6078, 9.9657, 26.2430)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A368D #398D36
analogous
#5E368D #8A368D #8D3664
triadic
#8A368D #8D8A36 #368D8A
tetradic
#8A368D #8D5E36 #398D36 #36648D
square
#8A368D #8D5E36 #398D36 #36648D
split-complementary
#8A368D #648D36 #368D5E
monochromatic
#331434 #5F2561 #8A368D #B547B9 #C774CA

Accessibility & contrast

On white

7.02
#8A368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8A368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A368D
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A368D#FFFFFF#000000##FFFFFF
##8A368D1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5290
Deuteranopia (green-blind)
#485D8B
Tritanopia (blue-blind)
#8E425C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a368d;
/* rgb */ color: rgb(138, 54, 141);
/* oklch */ color: oklch(48.4% 0.158 326.3);
Tailwind
colors: {
  custom: {
    50: '#af73af',
    500: '#8a368d',
    950: '#000000',
  },
}
SCSS
$custom: #8a368d;
$custom-light: #af73af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a368d",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 297.931,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48388,
    "c": 0.15813,
    "h": 326.3
  },
  "luminance": 0.09965
}

Semantic roles & 50–950 ramp

primary
#8A368D
secondary
#6FB26D
accent
#D45358
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A368D

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

Preview Lab → · Contrast checker → · Palette generator →

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