#8B1682#8B1682

#8B1682 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.187 H 331.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#8B1682
RGBrgb(139, 22, 130)
HSLhsl(305, 73%, 32%)
HSVhsv(305, 84%, 55%)
CMYKcmyk(0%, 84.2%, 6.5%, 45.5%)
CIE-LABlab(33.30, 57.49, -32.02)
CIE-LCHlch(33.30, 65.81, 330.88°)
OKLaboklab(45% 0.1649 -0.0883)
OKLCHoklch(45% 0.187 331.8)
XYZxyz(14.9637, 7.6758, 21.8082)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1682 #168B1F
analogous
#5A168B #8B1682 #8B1648
triadic
#8B1682 #828B16 #16828B
tetradic
#8B1682 #8B5A16 #168B1F #16488B
square
#8B1682 #8B5A16 #168B1F #16488B
split-complementary
#8B1682 #488B16 #168B5A
monochromatic
#21051F #560E51 #8B1682 #C01EB3 #E03BD3

Accessibility & contrast

On white

8.28
#8B1682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8B1682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1682
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1682#FFFFFF#000000##FFFFFF
##8B16821.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074485
Deuteranopia (green-blind)
#40547F
Tritanopia (blue-blind)
#91274D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b1682;
/* rgb */ color: rgb(139, 22, 130);
/* oklch */ color: oklch(45.0% 0.187 331.8);
Tailwind
colors: {
  custom: {
    50: '#b165a7',
    500: '#8b1682',
    950: '#000000',
  },
}
SCSS
$custom: #8b1682;
$custom-light: #b165a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1682",
  "rgb": {
    "r": 139,
    "g": 22,
    "b": 130
  },
  "hsl": {
    "h": 304.615,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44997,
    "c": 0.18702,
    "h": 331.8
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#8B1682
secondary
#3EBF48
accent
#EF4738
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8B1682

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

Preview Lab → · Contrast checker → · Palette generator →

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