#8B2B98#8B2B98

#8B2B98 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.183 H 322.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8B2B98
RGBrgb(139, 43, 152)
HSLhsl(293, 56%, 38%)
HSVhsv(293, 72%, 60%)
CMYKcmyk(8.6%, 71.7%, 0%, 40.4%)
CIE-LABlab(36.90, 54.67, -39.83)
CIE-LCHlch(36.90, 67.64, 323.92°)
OKLaboklab(47.99% 0.1458 -0.1112)
OKLCHoklch(47.99% 0.183 322.7)
XYZxyz(17.1783, 9.4847, 30.6256)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2B98 #38982B
analogous
#542B98 #8B2B98 #982B6E
triadic
#8B2B98 #988B2B #2B988B
tetradic
#8B2B98 #98542B #38982B #2B6E98
square
#8B2B98 #98542B #38982B #2B6E98
split-complementary
#8B2B98 #6E982B #2B9854
monochromatic
#341039 #5F1E68 #8B2B98 #B639C7 #C869D5

Accessibility & contrast

On white

7.25
#8B2B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8B2B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2B98
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2B98#FFFFFF#000000##FFFFFF
##8B2B981.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01509B
Deuteranopia (green-blind)
#3B5B95
Tritanopia (blue-blind)
#8D3E5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b2b98;
/* rgb */ color: rgb(139, 43, 152);
/* oklch */ color: oklch(48.0% 0.183 322.7);
Tailwind
colors: {
  custom: {
    50: '#b06eb7',
    500: '#8b2b98',
    950: '#000000',
  },
}
SCSS
$custom: #8b2b98;
$custom-light: #b06eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2b98",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 292.844,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47988,
    "c": 0.18334,
    "h": 322.7
  },
  "luminance": 0.09484
}

Semantic roles & 50–950 ramp

primary
#8B2B98
secondary
#6EBB64
accent
#DF495B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2B98

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

Preview Lab → · Contrast checker → · Palette generator →

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