#8B26AF#8B26AF

#8B26AF is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.209 H 315.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8B26AF
RGBrgb(139, 38, 175)
HSLhsl(284, 64%, 42%)
HSVhsv(284, 78%, 69%)
CMYKcmyk(20.6%, 78.3%, 0%, 31.4%)
CIE-LABlab(37.79, 60.89, -52.23)
CIE-LCHlch(37.79, 80.22, 319.38°)
OKLaboklab(49.1% 0.148 -0.1474)
OKLCHoklch(49.1% 0.209 315.1)
XYZxyz(19.0772, 9.9711, 41.4688)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B26AF #4AAF26
analogous
#4726AF #8B26AF #AF268E
triadic
#8B26AF #AF8B26 #26AF8B
tetradic
#8B26AF #AF4726 #4AAF26 #268EAF
square
#8B26AF #AF4726 #4AAF26 #268EAF
split-complementary
#8B26AF #8EAF26 #26AF47
monochromatic
#3B104A #631B7D #8B26AF #AD3DD5 #C270E0

Accessibility & contrast

On white

7.01
#8B26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8B26AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B26AF
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B26AF#FFFFFF#000000##FFFFFF
##8B26AF1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#1F5BAC
Tritanopia (blue-blind)
#88466A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b26af;
/* rgb */ color: rgb(139, 38, 175);
/* oklch */ color: oklch(49.1% 0.209 315.1);
Tailwind
colors: {
  custom: {
    50: '#b16cc8',
    500: '#8b26af',
    950: '#000000',
  },
}
SCSS
$custom: #8b26af;
$custom-light: #b16cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b26af",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 284.234,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49101,
    "c": 0.20892,
    "h": 315.1
  },
  "luminance": 0.0997
}

Semantic roles & 50–950 ramp

primary
#8B26AF
secondary
#82C76A
accent
#E7406C
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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