#8A2B82#8A2B82

#8A2B82 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.5% C 0.164 H 331.4°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8A2B82
RGBrgb(138, 43, 130)
HSLhsl(305, 52%, 35%)
HSVhsv(305, 69%, 54%)
CMYKcmyk(0%, 68.8%, 5.8%, 45.9%)
CIE-LABlab(35.49, 50.51, -28.58)
CIE-LCHlch(35.49, 58.03, 330.50°)
OKLaboklab(46.53% 0.1442 -0.0785)
OKLCHoklch(46.53% 0.164 331.4)
XYZxyz(15.3744, 8.7439, 21.9928)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B82 #2B8A33
analogous
#632B8A #8A2B82 #8A2B52
triadic
#8A2B82 #828A2B #2B828A
tetradic
#8A2B82 #8A632B #2B8A33 #2B528A
square
#8A2B82 #8A632B #2B8A33 #2B528A
split-complementary
#8A2B82 #528A2B #2B8A63
monochromatic
#2D0E2A #5B1C56 #8A2B82 #B93AAE #CE61C5

Accessibility & contrast

On white

7.64
#8A2B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8A2B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B82
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B82#FFFFFF#000000##FFFFFF
##8A2B821.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254B85
Deuteranopia (green-blind)
#475880
Tritanopia (blue-blind)
#903553
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2b82;
/* rgb */ color: rgb(138, 43, 130);
/* oklch */ color: oklch(46.5% 0.164 331.4);
Tailwind
colors: {
  custom: {
    50: '#af6da6',
    500: '#8a2b82',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b82;
$custom-light: #af6da6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b82",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 305.053,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46533,
    "c": 0.16421,
    "h": 331.4
  },
  "luminance": 0.08743
}

Semantic roles & 50–950 ramp

primary
#8A2B82
secondary
#5DB464
accent
#DC584C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2B82

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

Preview Lab → · Contrast checker → · Palette generator →

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