#8B26AD#8B26AD

#8B26AD is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.207 H 315.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8B26AD
RGBrgb(139, 38, 173)
HSLhsl(285, 64%, 41%)
HSVhsv(285, 78%, 68%)
CMYKcmyk(19.7%, 78%, 0%, 32.2%)
CIE-LABlab(37.65, 60.50, -51.27)
CIE-LCHlch(37.65, 79.30, 319.72°)
OKLaboklab(48.96% 0.1484 -0.1446)
OKLCHoklch(48.96% 0.207 315.7)
XYZxyz(18.8822, 9.8931, 40.4420)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B26AD #48AD26
analogous
#4826AD #8B26AD #AD268C
triadic
#8B26AD #AD8B26 #26AD8B
tetradic
#8B26AD #AD4826 #48AD26 #268CAD
square
#8B26AD #AD4826 #48AD26 #268CAD
split-complementary
#8B26AD #8CAD26 #26AD48
monochromatic
#3A1049 #631B7B #8B26AD #AE3CD4 #C36EDF

Accessibility & contrast

On white

7.05
#8B26AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8B26AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B26AD
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B26AD#FFFFFF#000000##FFFFFF
##8B26AD1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B1
Deuteranopia (green-blind)
#225BAA
Tritanopia (blue-blind)
#884569
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b26ad;
/* rgb */ color: rgb(139, 38, 173);
/* oklch */ color: oklch(49.0% 0.207 315.7);
Tailwind
colors: {
  custom: {
    50: '#b16cc6',
    500: '#8b26ad',
    950: '#000000',
  },
}
SCSS
$custom: #8b26ad;
$custom-light: #b16cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b26ad",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 284.889,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48958,
    "c": 0.20718,
    "h": 315.7
  },
  "luminance": 0.09892
}

Semantic roles & 50–950 ramp

primary
#8B26AD
secondary
#80C669
accent
#E7416B
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B26AD

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

Preview Lab → · Contrast checker → · Palette generator →

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