#8A2583#8A2583

#8A2583 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.0% C 0.173 H 331.0°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8A2583
RGBrgb(138, 37, 131)
HSLhsl(304, 58%, 34%)
HSVhsv(304, 73%, 54%)
CMYKcmyk(0%, 73.2%, 5.1%, 45.9%)
CIE-LABlab(34.73, 52.95, -30.38)
CIE-LCHlch(34.73, 61.05, 330.15°)
OKLaboklab(46.01% 0.1509 -0.0837)
OKLCHoklch(46.01% 0.173 331)
XYZxyz(15.2395, 8.3663, 22.2805)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2583 #258A2C
analogous
#5F258A #8A2583 #8A2551
triadic
#8A2583 #838A25 #25838A
tetradic
#8A2583 #8A5F25 #258A2C #25518A
square
#8A2583 #8A5F25 #258A2C #25518A
split-complementary
#8A2583 #518A25 #258A5F
monochromatic
#290B27 #5A1855 #8A2583 #BA32B1 #D257CA

Accessibility & contrast

On white

7.86
#8A2583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8A2583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2583
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2583#FFFFFF#000000##FFFFFF
##8A25831.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4986
Deuteranopia (green-blind)
#445781
Tritanopia (blue-blind)
#903151
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2583;
/* rgb */ color: rgb(138, 37, 131);
/* oklch */ color: oklch(46.0% 0.173 331.0);
Tailwind
colors: {
  custom: {
    50: '#af6aa7',
    500: '#8a2583',
    950: '#000000',
  },
}
SCSS
$custom: #8a2583;
$custom-light: #af6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2583",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 131
  },
  "hsl": {
    "h": 304.158,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46009,
    "c": 0.17251,
    "h": 331
  },
  "luminance": 0.08365
}

Semantic roles & 50–950 ramp

primary
#8A2583
secondary
#54B75B
accent
#E15247
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2583

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

Preview Lab → · Contrast checker → · Palette generator →

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