#8B1F83#8B1F83

#8B1F83 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.180 H 331.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8B1F83
RGBrgb(139, 31, 131)
HSLhsl(304, 64%, 33%)
HSVhsv(304, 78%, 55%)
CMYKcmyk(0%, 77.7%, 5.8%, 45.5%)
CIE-LABlab(34.21, 55.18, -31.20)
CIE-LCHlch(34.21, 63.39, 330.52°)
OKLaboklab(45.67% 0.1577 -0.086)
OKLCHoklch(45.67% 0.18 331.4)
XYZxyz(15.2342, 8.1089, 22.2311)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F83 #1F8B27
analogous
#5D1F8B #8B1F83 #8B1F4D
triadic
#8B1F83 #838B1F #1F838B
tetradic
#8B1F83 #8B5D1F #1F8B27 #1F4D8B
square
#8B1F83 #8B5D1F #1F8B27 #1F4D8B
split-complementary
#8B1F83 #4D8B1F #1F8B5D
monochromatic
#270925 #591454 #8B1F83 #BD2AB2 #D74DCD

Accessibility & contrast

On white

8.01
#8B1F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8B1F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F83
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F83#FFFFFF#000000##FFFFFF
##8B1F831.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144786
Deuteranopia (green-blind)
#425680
Tritanopia (blue-blind)
#912D50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b1f83;
/* rgb */ color: rgb(139, 31, 131);
/* oklch */ color: oklch(45.7% 0.180 331.4);
Tailwind
colors: {
  custom: {
    50: '#b068a7',
    500: '#8b1f83',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f83;
$custom-light: #b068a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f83",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 304.444,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45665,
    "c": 0.17963,
    "h": 331.4
  },
  "luminance": 0.08108
}

Semantic roles & 50–950 ramp

primary
#8B1F83
secondary
#4CBA54
accent
#E74D41
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B1F83

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

Preview Lab → · Contrast checker → · Palette generator →

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