#8B26BE#8B26BE

#8B26BE is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.2% C 0.222 H 310.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8B26BE
RGBrgb(139, 38, 190)
HSLhsl(280, 67%, 45%)
HSVhsv(280, 80%, 75%)
CMYKcmyk(26.8%, 80%, 0%, 25.5%)
CIE-LABlab(38.89, 63.92, -59.32)
CIE-LCHlch(38.89, 87.20, 317.14°)
OKLaboklab(50.22% 0.145 -0.1683)
OKLCHoklch(50.22% 0.222 310.8)
XYZxyz(20.6330, 10.5934, 49.6630)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B26BE #59BE26
analogous
#3F26BE #8B26BE #BE26A5
triadic
#8B26BE #BE8B26 #26BE8B
tetradic
#8B26BE #BE3F26 #59BE26 #26A5BE
square
#8B26BE #BE3F26 #59BE26 #26A5BE
split-complementary
#8B26BE #A5BE26 #26BE3F
monochromatic
#401258 #661C8B #8B26BE #A947DA #C17AE4

Accessibility & contrast

On white

6.73
#8B26BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8B26BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B26BE
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B26BE#FFFFFF#000000##FFFFFF
##8B26BE1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#844D73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b26be;
/* rgb */ color: rgb(139, 38, 190);
/* oklch */ color: oklch(50.2% 0.222 310.8);
Tailwind
colors: {
  custom: {
    50: '#b26dd2',
    500: '#8b26be',
    950: '#000000',
  },
}
SCSS
$custom: #8b26be;
$custom-light: #b26dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b26be",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 190
  },
  "hsl": {
    "h": 279.868,
    "s": 66.667,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50216,
    "c": 0.22213,
    "h": 310.8
  },
  "luminance": 0.10593
}

Semantic roles & 50–950 ramp

primary
#8B26BE
secondary
#91CC74
accent
#EA3E78
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8B26BE

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

Preview Lab → · Contrast checker → · Palette generator →

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