#8B2380#8B2380

#8B2380 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.8% C 0.173 H 332.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8B2380
RGBrgb(139, 35, 128)
HSLhsl(306, 60%, 34%)
HSVhsv(306, 75%, 55%)
CMYKcmyk(0%, 74.8%, 7.9%, 45.5%)
CIE-LABlab(34.50, 53.40, -28.87)
CIE-LCHlch(34.50, 60.70, 331.60°)
OKLaboklab(45.82% 0.1538 -0.0793)
OKLCHoklch(45.82% 0.173 332.7)
XYZxyz(15.1448, 8.2508, 21.2128)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2380 #238B2E
analogous
#62238B #8B2380 #8B234C
triadic
#8B2380 #808B23 #23808B
tetradic
#8B2380 #8B6223 #238B2E #234C8B
square
#8B2380 #8B6223 #238B2E #234C8B
split-complementary
#8B2380 #4C8B23 #238B62
monochromatic
#290A26 #5A1753 #8B2380 #BC2FAD #D454C7

Accessibility & contrast

On white

7.92
#8B2380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8B2380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2380
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2380#FFFFFF#000000##FFFFFF
##8B23801.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4883
Deuteranopia (green-blind)
#45567D
Tritanopia (blue-blind)
#912E4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2380;
/* rgb */ color: rgb(139, 35, 128);
/* oklch */ color: oklch(45.8% 0.173 332.7);
Tailwind
colors: {
  custom: {
    50: '#b069a5',
    500: '#8b2380',
    950: '#000000',
  },
}
SCSS
$custom: #8b2380;
$custom-light: #b069a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2380",
  "rgb": {
    "r": 139,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 306.346,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4582,
    "c": 0.17304,
    "h": 332.7
  },
  "luminance": 0.0825
}

Semantic roles & 50–950 ramp

primary
#8B2380
secondary
#52B85D
accent
#E35645
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B2380

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

Preview Lab → · Contrast checker → · Palette generator →

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