#8B26A2#8B26A2

#8B26A2 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.198 H 319.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8B26A2
RGBrgb(139, 38, 162)
HSLhsl(289, 62%, 39%)
HSVhsv(289, 77%, 64%)
CMYKcmyk(14.2%, 76.5%, 0%, 36.5%)
CIE-LABlab(36.90, 58.37, -45.88)
CIE-LCHlch(36.90, 74.24, 321.83°)
OKLaboklab(48.19% 0.1499 -0.1288)
OKLCHoklch(48.19% 0.198 319.3)
XYZxyz(17.8613, 9.4847, 35.0653)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B26A2 #3DA226
analogous
#4D26A2 #8B26A2 #A2267B
triadic
#8B26A2 #A28B26 #26A28B
tetradic
#8B26A2 #A24D26 #3DA226 #267BA2
square
#8B26A2 #A24D26 #3DA226 #267BA2
split-complementary
#8B26A2 #7BA226 #26A24D
monochromatic
#360F3F #601A70 #8B26A2 #B335D0 #C667DB

Accessibility & contrast

On white

7.25
#8B26A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8B26A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B26A2
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B26A2#FFFFFF#000000##FFFFFF
##8B26A21.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#305A9F
Tritanopia (blue-blind)
#8B4063
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b26a2;
/* rgb */ color: rgb(139, 38, 162);
/* oklch */ color: oklch(48.2% 0.198 319.3);
Tailwind
colors: {
  custom: {
    50: '#b16cbe',
    500: '#8b26a2',
    950: '#000000',
  },
}
SCSS
$custom: #8b26a2;
$custom-light: #b16cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8b26a2",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 288.871,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48191,
    "c": 0.19763,
    "h": 319.3
  },
  "luminance": 0.09484
}

Semantic roles & 50–950 ramp

primary
#8B26A2
secondary
#74C163
accent
#E54361
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B26A2

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

Preview Lab → · Contrast checker → · Palette generator →

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