#8B26B7#8B26B7

#8B26B7 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.216 H 312.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8B26B7
RGBrgb(139, 38, 183)
HSLhsl(282, 66%, 43%)
HSVhsv(282, 79%, 72%)
CMYKcmyk(24%, 79.2%, 0%, 28.2%)
CIE-LABlab(38.37, 62.49, -56.04)
CIE-LCHlch(38.37, 83.94, 318.12°)
OKLaboklab(49.69% 0.1465 -0.1586)
OKLCHoklch(49.69% 0.216 312.7)
XYZxyz(19.8863, 10.2947, 45.7301)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B26B7 #52B726
analogous
#4226B7 #8B26B7 #B7269A
triadic
#8B26B7 #B78B26 #26B78B
tetradic
#8B26B7 #B74226 #52B726 #269AB7
square
#8B26B7 #B74226 #52B726 #269AB7
split-complementary
#8B26B7 #9AB726 #26B742
monochromatic
#3E1152 #651B84 #8B26B7 #AA42D8 #C175E2

Accessibility & contrast

On white

6.87
#8B26B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8B26B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B26B7
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B26B7#FFFFFF#000000##FFFFFF
##8B26B71.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0C5CB4
Tritanopia (blue-blind)
#864A6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b26b7;
/* rgb */ color: rgb(139, 38, 183);
/* oklch */ color: oklch(49.7% 0.216 312.7);
Tailwind
colors: {
  custom: {
    50: '#b26dcd',
    500: '#8b26b7',
    950: '#000000',
  },
}
SCSS
$custom: #8b26b7;
$custom-light: #b26dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b26b7",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 281.793,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49687,
    "c": 0.21595,
    "h": 312.7
  },
  "luminance": 0.10294
}

Semantic roles & 50–950 ramp

primary
#8B26B7
secondary
#8BCA6F
accent
#E93F73
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B26B7

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

Preview Lab → · Contrast checker → · Palette generator →

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