#8B2494#8B2494

#8B2494 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.188 H 324.4°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8B2494
RGBrgb(139, 36, 148)
HSLhsl(295, 61%, 36%)
HSVhsv(295, 76%, 58%)
CMYKcmyk(6.1%, 75.7%, 0%, 42%)
CIE-LABlab(35.77, 56.46, -39.20)
CIE-LCHlch(35.77, 68.74, 325.23°)
OKLaboklab(47.1% 0.1529 -0.1093)
OKLCHoklch(47.1% 0.188 324.4)
XYZxyz(16.6232, 8.8899, 28.8516)
Luminance0.0889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2494 #2D9424
analogous
#532494 #8B2494 #942465
triadic
#8B2494 #948B24 #24948B
tetradic
#8B2494 #945324 #2D9424 #246594
square
#8B2494 #945324 #2D9424 #246594
split-complementary
#8B2494 #659424 #249453
monochromatic
#2F0C32 #5D1863 #8B2494 #B930C5 #CD5BD7

Accessibility & contrast

On white

7.56
#8B2494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8B2494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2494
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2494#FFFFFF#000000##FFFFFF
##8B24941.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#3A5891
Tritanopia (blue-blind)
#8E385A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b2494;
/* rgb */ color: rgb(139, 36, 148);
/* oklch */ color: oklch(47.1% 0.188 324.4);
Tailwind
colors: {
  custom: {
    50: '#b06ab4',
    500: '#8b2494',
    950: '#000000',
  },
}
SCSS
$custom: #8b2494;
$custom-light: #b06ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2494",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 295.179,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47102,
    "c": 0.18791,
    "h": 324.4
  },
  "luminance": 0.08889
}

Semantic roles & 50–950 ramp

primary
#8B2494
secondary
#60BC58
accent
#E44451
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2494

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

Preview Lab → · Contrast checker → · Palette generator →

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