#8A2A85#8A2A85

#8A2A85 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.6% C 0.168 H 330.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8A2A85
RGBrgb(138, 42, 133)
HSLhsl(303, 53%, 35%)
HSVhsv(303, 70%, 54%)
CMYKcmyk(0%, 69.6%, 3.6%, 45.9%)
CIE-LABlab(35.51, 51.41, -30.41)
CIE-LCHlch(35.51, 59.73, 329.40°)
OKLaboklab(46.6% 0.1456 -0.0838)
OKLCHoklch(46.6% 0.168 330.1)
XYZxyz(15.5427, 8.7538, 23.0568)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A85 #2A8A2F
analogous
#5F2A8A #8A2A85 #8A2A55
triadic
#8A2A85 #858A2A #2A858A
tetradic
#8A2A85 #8A5F2A #2A8A2F #2A558A
square
#8A2A85 #8A5F2A #2A8A2F #2A558A
split-complementary
#8A2A85 #558A2A #2A8A5F
monochromatic
#2C0D2B #5B1C58 #8A2A85 #B938B2 #CF60C9

Accessibility & contrast

On white

7.63
#8A2A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2A85
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A85#FFFFFF#000000##FFFFFF
##8A2A851.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214B88
Deuteranopia (green-blind)
#455883
Tritanopia (blue-blind)
#8F3654
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2a85;
/* rgb */ color: rgb(138, 42, 133);
/* oklch */ color: oklch(46.6% 0.168 330.1);
Tailwind
colors: {
  custom: {
    50: '#af6ca9',
    500: '#8a2a85',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a85;
$custom-light: #af6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a85",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 303.125,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.466,
    "c": 0.16795,
    "h": 330.1
  },
  "luminance": 0.08753
}

Semantic roles & 50–950 ramp

primary
#8A2A85
secondary
#5BB460
accent
#DD534B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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