#8B2A94#8B2A94

#8B2A94 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.181 H 324.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8B2A94
RGBrgb(139, 42, 148)
HSLhsl(295, 56%, 37%)
HSVhsv(295, 72%, 58%)
CMYKcmyk(6.1%, 71.6%, 0%, 42%)
CIE-LABlab(36.53, 54.31, -38.00)
CIE-LCHlch(36.53, 66.29, 325.02°)
OKLaboklab(47.64% 0.147 -0.1058)
OKLCHoklch(47.64% 0.181 324.3)
XYZxyz(16.8203, 9.2840, 28.9173)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2A94 #33942A
analogous
#562A94 #8B2A94 #942A68
triadic
#8B2A94 #948B2A #2A948B
tetradic
#8B2A94 #94562A #33942A #2A6894
square
#8B2A94 #94562A #33942A #2A6894
split-complementary
#8B2A94 #68942A #2A9456
monochromatic
#310F35 #5E1C64 #8B2A94 #B838C4 #CA65D3

Accessibility & contrast

On white

7.35
#8B2A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8B2A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2A94
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2A94#FFFFFF#000000##FFFFFF
##8B2A941.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4E97
Deuteranopia (green-blind)
#3D5A91
Tritanopia (blue-blind)
#8E3C5C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b2a94;
/* rgb */ color: rgb(139, 42, 148);
/* oklch */ color: oklch(47.6% 0.181 324.3);
Tailwind
colors: {
  custom: {
    50: '#b06db4',
    500: '#8b2a94',
    950: '#000000',
  },
}
SCSS
$custom: #8b2a94;
$custom-light: #b06db4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2a94",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 294.906,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47641,
    "c": 0.18108,
    "h": 324.3
  },
  "luminance": 0.09283
}

Semantic roles & 50–950 ramp

primary
#8B2A94
secondary
#68B960
accent
#DF4955
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2A94

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

Preview Lab → · Contrast checker → · Palette generator →

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