#8A2485#8A2485

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

Color values

HEX#8A2485
RGBrgb(138, 36, 133)
HSLhsl(303, 59%, 34%)
HSVhsv(303, 74%, 54%)
CMYKcmyk(0%, 73.9%, 3.6%, 45.9%)
CIE-LABlab(34.72, 53.64, -31.65)
CIE-LCHlch(34.72, 62.28, 329.46°)
OKLaboklab(46.04% 0.1519 -0.0873)
OKLCHoklch(46.04% 0.175 330.1)
XYZxyz(15.3457, 8.3597, 22.9911)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2485 #248A29
analogous
#5C248A #8A2485 #8A2452
triadic
#8A2485 #858A24 #24858A
tetradic
#8A2485 #8A5C24 #248A29 #24528A
square
#8A2485 #8A5C24 #248A29 #24528A
split-complementary
#8A2485 #528A24 #248A5C
monochromatic
#290B27 #591756 #8A2485 #BB31B4 #D356CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2485#FFFFFF#000000##FFFFFF
##8A24851.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)
#184988
Deuteranopia (green-blind)
#425682
Tritanopia (blue-blind)
#8F3152
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2485;
/* rgb */ color: rgb(138, 36, 133);
/* oklch */ color: oklch(46.0% 0.175 330.1);
Tailwind
colors: {
  custom: {
    50: '#af6aa9',
    500: '#8a2485',
    950: '#000000',
  },
}
SCSS
$custom: #8a2485;
$custom-light: #af6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2485",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 302.941,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46035,
    "c": 0.17525,
    "h": 330.1
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#8A2485
secondary
#53B758
accent
#E24E46
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2485

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

Preview Lab → · Contrast checker → · Palette generator →

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