#8B1E7B#8B1E7B

#8B1E7B is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.175 H 334.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8B1E7B
RGBrgb(139, 30, 123)
HSLhsl(309, 64%, 33%)
HSVhsv(309, 78%, 55%)
CMYKcmyk(0%, 78.4%, 11.5%, 45.5%)
CIE-LABlab(33.67, 54.23, -27.06)
CIE-LCHlch(33.67, 60.61, 333.48°)
OKLaboklab(45.14% 0.1583 -0.074)
OKLCHoklch(45.14% 0.175 334.9)
XYZxyz(14.6871, 7.8489, 19.4765)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E7B #1E8B2E
analogous
#641E8B #8B1E7B #8B1E45
triadic
#8B1E7B #7B8B1E #1E7B8B
tetradic
#8B1E7B #8B641E #1E8B2E #1E458B
square
#8B1E7B #8B641E #1E8B2E #1E458B
split-complementary
#8B1E7B #458B1E #1E8B64
monochromatic
#260822 #59134E #8B1E7B #BD29A8 #D84BC3

Accessibility & contrast

On white

8.17
#8B1E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8B1E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1E7B
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E7B#FFFFFF#000000##FFFFFF
##8B1E7B1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D457D
Deuteranopia (green-blind)
#465578
Tritanopia (blue-blind)
#92284B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1e7b;
/* rgb */ color: rgb(139, 30, 123);
/* oklch */ color: oklch(45.1% 0.175 334.9);
Tailwind
colors: {
  custom: {
    50: '#b067a1',
    500: '#8b1e7b',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e7b;
$custom-light: #b067a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e7b",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 308.807,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45135,
    "c": 0.17471,
    "h": 334.9
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#8B1E7B
secondary
#4ABB5B
accent
#E75940
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8B1E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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