#8B2598#8B2598

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

Color values

HEX#8B2598
RGBrgb(139, 37, 152)
HSLhsl(293, 61%, 37%)
HSVhsv(293, 76%, 60%)
CMYKcmyk(8.6%, 75.7%, 0%, 40.4%)
CIE-LABlab(36.14, 56.85, -41.05)
CIE-LCHlch(36.14, 70.12, 324.17°)
OKLaboklab(47.44% 0.1517 -0.1147)
OKLCHoklch(47.44% 0.19 322.9)
XYZxyz(16.9760, 9.0801, 30.5582)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2598 #329825
analogous
#512598 #8B2598 #98256C
triadic
#8B2598 #988B25 #25988B
tetradic
#8B2598 #985125 #329825 #256C98
square
#8B2598 #985125 #329825 #256C98
split-complementary
#8B2598 #6C9825 #259851
monochromatic
#310D36 #5E1967 #8B2598 #B831C9 #CA5FD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B2598#FFFFFF#000000##FFFFFF
##8B25981.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)
#004E9B
Deuteranopia (green-blind)
#385995
Tritanopia (blue-blind)
#8D3B5D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b2598;
/* rgb */ color: rgb(139, 37, 152);
/* oklch */ color: oklch(47.4% 0.190 322.9);
Tailwind
colors: {
  custom: {
    50: '#b06bb7',
    500: '#8b2598',
    950: '#000000',
  },
}
SCSS
$custom: #8b2598;
$custom-light: #b06bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2598",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 293.217,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47443,
    "c": 0.19017,
    "h": 322.9
  },
  "luminance": 0.09079
}

Semantic roles & 50–950 ramp

primary
#8B2598
secondary
#67BD5C
accent
#E44456
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2598

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

Preview Lab → · Contrast checker → · Palette generator →

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