#8B26BF#8B26BF

#8B26BF is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.3% C 0.223 H 310.5°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8B26BF
RGBrgb(139, 38, 191)
HSLhsl(280, 67%, 45%)
HSVhsv(280, 80%, 75%)
CMYKcmyk(27.2%, 80.1%, 0%, 25.1%)
CIE-LABlab(38.96, 64.12, -59.78)
CIE-LCHlch(38.96, 87.67, 317.01°)
OKLaboklab(50.29% 0.1448 -0.1696)
OKLCHoklch(50.29% 0.223 310.5)
XYZxyz(20.7427, 10.6373, 50.2406)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B26BF #5ABF26
analogous
#3F26BF #8B26BF #BF26A6
triadic
#8B26BF #BF8B26 #26BF8B
tetradic
#8B26BF #BF3F26 #5ABF26 #26A6BF
square
#8B26BF #BF3F26 #5ABF26 #26A6BF
split-complementary
#8B26BF #A6BF26 #26BF3F
monochromatic
#411259 #661C8C #8B26BF #A948DB #C17BE5

Accessibility & contrast

On white

6.71
#8B26BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8B26BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B26BF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B26BF#FFFFFF#000000##FFFFFF
##8B26BF1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#844D73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b26bf;
/* rgb */ color: rgb(139, 38, 191);
/* oklch */ color: oklch(50.3% 0.223 310.5);
Tailwind
colors: {
  custom: {
    50: '#b26dd3',
    500: '#8b26bf',
    950: '#000000',
  },
}
SCSS
$custom: #8b26bf;
$custom-light: #b26dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b26bf",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 191
  },
  "hsl": {
    "h": 279.608,
    "s": 66.812,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50292,
    "c": 0.22302,
    "h": 310.5
  },
  "luminance": 0.10637
}

Semantic roles & 50–950 ramp

primary
#8B26BF
secondary
#92CD74
accent
#EA3E78
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8B26BF

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

Preview Lab → · Contrast checker → · Palette generator →

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