#8A2384#8A2384

#8A2384 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.176 H 330.6°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8A2384
RGBrgb(138, 35, 132)
HSLhsl(303, 60%, 34%)
HSVhsv(303, 75%, 54%)
CMYKcmyk(0%, 74.6%, 4.3%, 45.9%)
CIE-LABlab(34.54, 53.81, -31.30)
CIE-LCHlch(34.54, 62.26, 329.81°)
OKLaboklab(45.89% 0.1529 -0.0863)
OKLCHoklch(45.89% 0.176 330.6)
XYZxyz(15.2471, 8.2725, 22.6190)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2384 #238A29
analogous
#5D238A #8A2384 #8A2351
triadic
#8A2384 #848A23 #23848A
tetradic
#8A2384 #8A5D23 #238A29 #23518A
square
#8A2384 #8A5D23 #238A29 #23518A
split-complementary
#8A2384 #518A23 #238A5D
monochromatic
#280A27 #591755 #8A2384 #BB2FB3 #D454CC

Accessibility & contrast

On white

7.91
#8A2384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8A2384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2384
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2384#FFFFFF#000000##FFFFFF
##8A23841.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184887
Deuteranopia (green-blind)
#425681
Tritanopia (blue-blind)
#8F3051
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2384;
/* rgb */ color: rgb(138, 35, 132);
/* oklch */ color: oklch(45.9% 0.176 330.6);
Tailwind
colors: {
  custom: {
    50: '#b069a8',
    500: '#8a2384',
    950: '#000000',
  },
}
SCSS
$custom: #8a2384;
$custom-light: #b069a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2384",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 132
  },
  "hsl": {
    "h": 303.495,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4589,
    "c": 0.17559,
    "h": 330.6
  },
  "luminance": 0.08271
}

Semantic roles & 50–950 ramp

primary
#8A2384
secondary
#51B757
accent
#E34E45
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2384

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

Preview Lab → · Contrast checker → · Palette generator →

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