#8B2485#8B2485

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

Color values

HEX#8B2485
RGBrgb(139, 36, 133)
HSLhsl(303, 59%, 34%)
HSVhsv(303, 74%, 55%)
CMYKcmyk(0%, 74.1%, 4.3%, 45.5%)
CIE-LABlab(34.89, 53.87, -31.36)
CIE-LCHlch(34.89, 62.33, 329.79°)
OKLaboklab(46.19% 0.153 -0.0865)
OKLCHoklch(46.19% 0.176 330.5)
XYZxyz(15.5119, 8.4454, 22.9989)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2485 #248B2A
analogous
#5E248B #8B2485 #8B2452
triadic
#8B2485 #858B24 #24858B
tetradic
#8B2485 #8B5E24 #248B2A #24528B
square
#8B2485 #8B5E24 #248B2A #24528B
split-complementary
#8B2485 #528B24 #248B5E
monochromatic
#2A0B28 #5A1756 #8B2485 #BC31B4 #D356CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B2485#FFFFFF#000000##FFFFFF
##8B24851.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)
#194988
Deuteranopia (green-blind)
#435782
Tritanopia (blue-blind)
#903152
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b2485;
/* rgb */ color: rgb(139, 36, 133);
/* oklch */ color: oklch(46.2% 0.176 330.5);
Tailwind
colors: {
  custom: {
    50: '#b06aa9',
    500: '#8b2485',
    950: '#000000',
  },
}
SCSS
$custom: #8b2485;
$custom-light: #b06aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2485",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 303.495,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46192,
    "c": 0.17578,
    "h": 330.5
  },
  "luminance": 0.08444
}

Semantic roles & 50–950 ramp

primary
#8B2485
secondary
#53B759
accent
#E24F46
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B2485

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

Preview Lab → · Contrast checker → · Palette generator →

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