#8A368B#8A368B

#8A368B is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.3% C 0.156 H 327.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8A368B
RGBrgb(138, 54, 139)
HSLhsl(299, 44%, 38%)
HSVhsv(299, 61%, 55%)
CMYKcmyk(0.7%, 61.2%, 0%, 45.5%)
CIE-LABlab(37.67, 47.34, -30.68)
CIE-LCHlch(37.67, 56.42, 327.05°)
OKLaboklab(48.28% 0.1314 -0.0847)
OKLCHoklch(48.28% 0.156 327.2)
XYZxyz(16.4603, 9.9067, 25.4663)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A368B #378B36
analogous
#5F368B #8A368B #8B3661
triadic
#8A368B #8B8A36 #368B8A
tetradic
#8A368B #8B5F36 #378B36 #36618B
square
#8A368B #8B5F36 #378B36 #36618B
split-complementary
#8A368B #618B36 #368B5F
monochromatic
#321433 #5E255F #8A368B #B647B7 #C873C9

Accessibility & contrast

On white

7.04
#8A368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A368B
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A368B#FFFFFF#000000##FFFFFF
##8A368B1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528E
Deuteranopia (green-blind)
#495C89
Tritanopia (blue-blind)
#8E415B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a368b;
/* rgb */ color: rgb(138, 54, 139);
/* oklch */ color: oklch(48.3% 0.156 327.2);
Tailwind
colors: {
  custom: {
    50: '#af73ad',
    500: '#8a368b',
    950: '#000000',
  },
}
SCSS
$custom: #8a368b;
$custom-light: #af73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a368b",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 299.294,
    "s": 44.041,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48276,
    "c": 0.15633,
    "h": 327.2
  },
  "luminance": 0.09906
}

Semantic roles & 50–950 ramp

primary
#8A368B
secondary
#6DB16C
accent
#D45456
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A368B

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

Preview Lab → · Contrast checker → · Palette generator →

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