#8A2488#8A2488

#8A2488 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.178 H 328.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8A2488
RGBrgb(138, 36, 136)
HSLhsl(301, 59%, 34%)
HSVhsv(301, 74%, 54%)
CMYKcmyk(0%, 73.9%, 1.4%, 45.9%)
CIE-LABlab(34.89, 54.14, -33.24)
CIE-LCHlch(34.89, 63.53, 328.46°)
OKLaboklab(46.21% 0.152 -0.0919)
OKLCHoklch(46.21% 0.178 328.8)
XYZxyz(15.5559, 8.4438, 24.0983)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2488 #248A26
analogous
#59248A #8A2488 #8A2455
triadic
#8A2488 #888A24 #24888A
tetradic
#8A2488 #8A5924 #248A26 #24558A
square
#8A2488 #8A5924 #248A26 #24558A
split-complementary
#8A2488 #558A24 #248A59
monochromatic
#290B28 #591758 #8A2488 #BB31B8 #D356D0

Accessibility & contrast

On white

7.81
#8A2488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8A2488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2488
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2488#FFFFFF#000000##FFFFFF
##8A24881.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14498B
Deuteranopia (green-blind)
#415785
Tritanopia (blue-blind)
#8F3354
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2488;
/* rgb */ color: rgb(138, 36, 136);
/* oklch */ color: oklch(46.2% 0.178 328.8);
Tailwind
colors: {
  custom: {
    50: '#b06aab',
    500: '#8a2488',
    950: '#000000',
  },
}
SCSS
$custom: #8a2488;
$custom-light: #b06aab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2488",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 136
  },
  "hsl": {
    "h": 301.176,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46211,
    "c": 0.17764,
    "h": 328.8
  },
  "luminance": 0.08443
}

Semantic roles & 50–950 ramp

primary
#8A2488
secondary
#53B755
accent
#E24946
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2488

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

Preview Lab → · Contrast checker → · Palette generator →

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