#8B1F85#8B1F85

#8B1F85 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.181 H 330.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8B1F85
RGBrgb(139, 31, 133)
HSLhsl(303, 64%, 33%)
HSVhsv(303, 78%, 55%)
CMYKcmyk(0%, 77.7%, 4.3%, 45.5%)
CIE-LABlab(34.32, 55.51, -32.27)
CIE-LCHlch(34.32, 64.21, 329.83°)
OKLaboklab(45.78% 0.1578 -0.0891)
OKLCHoklch(45.78% 0.181 330.6)
XYZxyz(15.3710, 8.1636, 22.9519)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F85 #1F8B25
analogous
#5B1F8B #8B1F85 #8B1F4F
triadic
#8B1F85 #858B1F #1F858B
tetradic
#8B1F85 #8B5B1F #1F8B25 #1F4F8B
square
#8B1F85 #8B5B1F #1F8B25 #1F4F8B
split-complementary
#8B1F85 #4F8B1F #1F8B5B
monochromatic
#270925 #591455 #8B1F85 #BD2AB5 #D74DD0

Accessibility & contrast

On white

7.98
#8B1F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8B1F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F85
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F85#FFFFFF#000000##FFFFFF
##8B1F851.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114788
Deuteranopia (green-blind)
#415682
Tritanopia (blue-blind)
#912E51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b1f85;
/* rgb */ color: rgb(139, 31, 133);
/* oklch */ color: oklch(45.8% 0.181 330.6);
Tailwind
colors: {
  custom: {
    50: '#b068a9',
    500: '#8b1f85',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f85;
$custom-light: #b068a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f85",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 303.333,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45782,
    "c": 0.18115,
    "h": 330.6
  },
  "luminance": 0.08162
}

Semantic roles & 50–950 ramp

primary
#8B1F85
secondary
#4CBA52
accent
#E74A41
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1F85

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

Preview Lab → · Contrast checker → · Palette generator →

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