#8B2794#8B2794

#8B2794 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.185 H 324.4°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8B2794
RGBrgb(139, 39, 148)
HSLhsl(295, 58%, 37%)
HSVhsv(295, 74%, 58%)
CMYKcmyk(6.1%, 73.6%, 0%, 42%)
CIE-LABlab(36.14, 55.42, -38.62)
CIE-LCHlch(36.14, 67.55, 325.13°)
OKLaboklab(47.36% 0.15 -0.1076)
OKLCHoklch(47.36% 0.185 324.4)
XYZxyz(16.7178, 9.0792, 28.8831)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2794 #309427
analogous
#552794 #8B2794 #942767
triadic
#8B2794 #948B27 #27948B
tetradic
#8B2794 #945527 #309427 #276794
square
#8B2794 #945527 #309427 #276794
split-complementary
#8B2794 #679427 #279455
monochromatic
#300D33 #5E1A64 #8B2794 #B834C4 #CC60D5

Accessibility & contrast

On white

7.46
#8B2794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8B2794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2794
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2794#FFFFFF#000000##FFFFFF
##8B27941.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#3C5991
Tritanopia (blue-blind)
#8E3A5B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b2794;
/* rgb */ color: rgb(139, 39, 148);
/* oklch */ color: oklch(47.4% 0.185 324.4);
Tailwind
colors: {
  custom: {
    50: '#b06cb4',
    500: '#8b2794',
    950: '#000000',
  },
}
SCSS
$custom: #8b2794;
$custom-light: #b06cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2794",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 295.046,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47363,
    "c": 0.1846,
    "h": 324.4
  },
  "luminance": 0.09078
}

Semantic roles & 50–950 ramp

primary
#8B2794
secondary
#64BB5C
accent
#E24653
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2794

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

Preview Lab → · Contrast checker → · Palette generator →

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