#8B2294#8B2294

#8B2294 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.190 H 324.5°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#8B2294
RGBrgb(139, 34, 148)
HSLhsl(295, 63%, 36%)
HSVhsv(295, 77%, 58%)
CMYKcmyk(6.1%, 77%, 0%, 42%)
CIE-LABlab(35.54, 57.12, -39.57)
CIE-LCHlch(35.54, 69.49, 325.29°)
OKLaboklab(46.94% 0.1547 -0.1103)
OKLCHoklch(46.94% 0.19 324.5)
XYZxyz(16.5644, 8.7722, 28.8320)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2294 #2B9422
analogous
#522294 #8B2294 #942264
triadic
#8B2294 #948B22 #22948B
tetradic
#8B2294 #945222 #2B9422 #226494
square
#8B2294 #945222 #2B9422 #226494
split-complementary
#8B2294 #649422 #229452
monochromatic
#2E0B30 #5C1762 #8B2294 #BA2DC6 #CE58D9

Accessibility & contrast

On white

7.62
#8B2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8B2294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2294
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2294#FFFFFF#000000##FFFFFF
##8B22941.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#395891
Tritanopia (blue-blind)
#8E375A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b2294;
/* rgb */ color: rgb(139, 34, 148);
/* oklch */ color: oklch(46.9% 0.190 324.5);
Tailwind
colors: {
  custom: {
    50: '#b16ab4',
    500: '#8b2294',
    950: '#000000',
  },
}
SCSS
$custom: #8b2294;
$custom-light: #b16ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2294",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 295.263,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46939,
    "c": 0.18999,
    "h": 324.5
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

primary
#8B2294
secondary
#5DBD55
accent
#E6424F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2294

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

Preview Lab → · Contrast checker → · Palette generator →

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