#8B2394#8B2394

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

Color values

HEX#8B2394
RGBrgb(139, 35, 148)
HSLhsl(295, 62%, 36%)
HSVhsv(295, 76%, 58%)
CMYKcmyk(6.1%, 76.4%, 0%, 42%)
CIE-LABlab(35.66, 56.80, -39.38)
CIE-LCHlch(35.66, 69.12, 325.26°)
OKLaboklab(47.02% 0.1538 -0.1098)
OKLCHoklch(47.02% 0.189 324.5)
XYZxyz(16.5934, 8.8302, 28.8416)
Luminance0.0883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2394 #2C9423
analogous
#522394 #8B2394 #942364
triadic
#8B2394 #948B23 #23948B
tetradic
#8B2394 #945223 #2C9423 #236494
square
#8B2394 #945223 #2C9423 #236494
split-complementary
#8B2394 #649423 #239452
monochromatic
#2E0C31 #5D1763 #8B2394 #B92FC5 #CE5AD8

Accessibility & contrast

On white

7.59
#8B2394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8B2394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2394
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2394#FFFFFF#000000##FFFFFF
##8B23941.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.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: #8b2394;
/* rgb */ color: rgb(139, 35, 148);
/* oklch */ color: oklch(47.0% 0.189 324.5);
Tailwind
colors: {
  custom: {
    50: '#b06ab4',
    500: '#8b2394',
    950: '#000000',
  },
}
SCSS
$custom: #8b2394;
$custom-light: #b06ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2394",
  "rgb": {
    "r": 139,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 295.221,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4702,
    "c": 0.18897,
    "h": 324.5
  },
  "luminance": 0.08829
}

Semantic roles & 50–950 ramp

primary
#8B2394
secondary
#5FBC57
accent
#E54350
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2394

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

Preview Lab → · Contrast checker → · Palette generator →

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