#8B2A9F#8B2A9F

#8B2A9F is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.191 H 320.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8B2A9F
RGBrgb(139, 42, 159)
HSLhsl(290, 58%, 39%)
HSVhsv(290, 74%, 62%)
CMYKcmyk(12.6%, 73.6%, 0%, 37.6%)
CIE-LABlab(37.20, 56.37, -43.58)
CIE-LCHlch(37.20, 71.26, 322.29°)
OKLaboklab(48.34% 0.1464 -0.1221)
OKLCHoklch(48.34% 0.191 320.2)
XYZxyz(17.7327, 9.6490, 33.7226)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2A9F #3E9F2A
analogous
#512A9F #8B2A9F #9F2A78
triadic
#8B2A9F #9F8B2A #2A9F8B
tetradic
#8B2A9F #9F512A #3E9F2A #2A789F
square
#8B2A9F #9F512A #3E9F2A #2A789F
split-complementary
#8B2A9F #789F2A #2A9F51
monochromatic
#36103E #611D6F #8B2A9F #B33BCB #C56BD8

Accessibility & contrast

On white

7.17
#8B2A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8B2A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2A9F
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2A9F#FFFFFF#000000##FFFFFF
##8B2A9F1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#355B9C
Tritanopia (blue-blind)
#8C4162
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b2a9f;
/* rgb */ color: rgb(139, 42, 159);
/* oklch */ color: oklch(48.3% 0.191 320.2);
Tailwind
colors: {
  custom: {
    50: '#b06dbc',
    500: '#8b2a9f',
    950: '#000000',
  },
}
SCSS
$custom: #8b2a9f;
$custom-light: #b06dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2a9f",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 289.744,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48344,
    "c": 0.19065,
    "h": 320.2
  },
  "luminance": 0.09648
}

Semantic roles & 50–950 ramp

primary
#8B2A9F
secondary
#75BF66
accent
#E14661
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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