#8A2382#8A2382

#8A2382 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.174 H 331.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8A2382
RGBrgb(138, 35, 130)
HSLhsl(305, 60%, 34%)
HSVhsv(305, 75%, 54%)
CMYKcmyk(0%, 74.6%, 5.8%, 45.9%)
CIE-LABlab(34.43, 53.48, -30.24)
CIE-LCHlch(34.43, 61.44, 330.52°)
OKLaboklab(45.77% 0.1528 -0.0832)
OKLCHoklch(45.77% 0.174 331.4)
XYZxyz(15.1115, 8.2183, 21.9051)
Luminance0.0822 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2382 #238A2B
analogous
#5F238A #8A2382 #8A234F
triadic
#8A2382 #828A23 #23828A
tetradic
#8A2382 #8A5F23 #238A2B #234F8A
square
#8A2382 #8A5F23 #238A2B #234F8A
split-complementary
#8A2382 #4F8A23 #238A5F
monochromatic
#280A26 #591754 #8A2382 #BB2FB0 #D454CA

Accessibility & contrast

On white

7.94
#8A2382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8A2382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2382
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2382#FFFFFF#000000##FFFFFF
##8A23821.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4885
Deuteranopia (green-blind)
#43567F
Tritanopia (blue-blind)
#902F50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2382;
/* rgb */ color: rgb(138, 35, 130);
/* oklch */ color: oklch(45.8% 0.174 331.4);
Tailwind
colors: {
  custom: {
    50: '#af69a6',
    500: '#8a2382',
    950: '#000000',
  },
}
SCSS
$custom: #8a2382;
$custom-light: #af69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2382",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 304.66,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45774,
    "c": 0.17403,
    "h": 331.4
  },
  "luminance": 0.08217
}

Semantic roles & 50–950 ramp

primary
#8A2382
secondary
#51B759
accent
#E35145
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2382

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

Preview Lab → · Contrast checker → · Palette generator →

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