#8A2585#8A2585

#8A2585 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.174 H 330.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#8A2585
RGBrgb(138, 37, 133)
HSLhsl(303, 58%, 34%)
HSVhsv(303, 73%, 54%)
CMYKcmyk(0%, 73.2%, 3.6%, 45.9%)
CIE-LABlab(34.84, 53.28, -31.45)
CIE-LCHlch(34.84, 61.87, 329.45°)
OKLaboklab(46.12% 0.1509 -0.0868)
OKLCHoklch(46.12% 0.174 330.1)
XYZxyz(15.3764, 8.4210, 23.0013)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2585 #258A2A
analogous
#5D258A #8A2585 #8A2553
triadic
#8A2585 #858A25 #25858A
tetradic
#8A2585 #8A5D25 #258A2A #25538A
square
#8A2585 #8A5D25 #258A2A #25538A
split-complementary
#8A2585 #538A25 #258A5D
monochromatic
#290B28 #5A1856 #8A2585 #BA32B4 #D257CC

Accessibility & contrast

On white

7.82
#8A2585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8A2585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2585
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2585#FFFFFF#000000##FFFFFF
##8A25851.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4988
Deuteranopia (green-blind)
#435782
Tritanopia (blue-blind)
#8F3252
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2585;
/* rgb */ color: rgb(138, 37, 133);
/* oklch */ color: oklch(46.1% 0.174 330.1);
Tailwind
colors: {
  custom: {
    50: '#af6aa9',
    500: '#8a2585',
    950: '#000000',
  },
}
SCSS
$custom: #8a2585;
$custom-light: #af6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2585",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 302.97,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46124,
    "c": 0.17409,
    "h": 330.1
  },
  "luminance": 0.0842
}

Semantic roles & 50–950 ramp

primary
#8A2585
secondary
#54B759
accent
#E14E47
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2585

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

Preview Lab → · Contrast checker → · Palette generator →

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