#8B2691#8B2691

#8B2691 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.183 H 325.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#8B2691
RGBrgb(139, 38, 145)
HSLhsl(297, 58%, 36%)
HSVhsv(297, 74%, 57%)
CMYKcmyk(4.1%, 73.8%, 0%, 43.1%)
CIE-LABlab(35.83, 55.24, -37.27)
CIE-LCHlch(35.83, 66.63, 325.99°)
OKLaboklab(47.09% 0.1511 -0.1036)
OKLCHoklch(47.09% 0.183 325.5)
XYZxyz(16.4510, 8.9206, 27.6379)
Luminance0.0892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2691 #2C9126
analogous
#562691 #8B2691 #912661
triadic
#8B2691 #918B26 #26918B
tetradic
#8B2691 #915626 #2C9126 #266191
square
#8B2691 #915626 #2C9126 #266191
split-complementary
#8B2691 #619126 #269156
monochromatic
#2E0D30 #5D1961 #8B2691 #B933C1 #CE5DD5

Accessibility & contrast

On white

7.54
#8B2691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8B2691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2691
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2691#FFFFFF#000000##FFFFFF
##8B26911.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064C94
Deuteranopia (green-blind)
#3D598E
Tritanopia (blue-blind)
#8E3859
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b2691;
/* rgb */ color: rgb(139, 38, 145);
/* oklch */ color: oklch(47.1% 0.183 325.5);
Tailwind
colors: {
  custom: {
    50: '#b06bb2',
    500: '#8b2691',
    950: '#000000',
  },
}
SCSS
$custom: #8b2691;
$custom-light: #b06bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2691",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 296.636,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47086,
    "c": 0.18323,
    "h": 325.5
  },
  "luminance": 0.0892
}

Semantic roles & 50–950 ramp

primary
#8B2691
secondary
#5FBA59
accent
#E2464F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2691

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

Preview Lab → · Contrast checker → · Palette generator →

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