#8B26C3#8B26C3

#8B26C3 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.6% C 0.227 H 309.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8B26C3
RGBrgb(139, 38, 195)
HSLhsl(279, 67%, 46%)
HSVhsv(279, 81%, 76%)
CMYKcmyk(28.7%, 80.5%, 0%, 23.5%)
CIE-LABlab(39.27, 64.95, -61.63)
CIE-LCHlch(39.27, 89.54, 316.50°)
OKLaboklab(50.6% 0.1438 -0.1751)
OKLCHoklch(50.6% 0.227 309.4)
XYZxyz(21.1889, 10.8157, 52.5906)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B26C3 #5EC326
analogous
#3D26C3 #8B26C3 #C326AC
triadic
#8B26C3 #C38B26 #26C38B
tetradic
#8B26C3 #C33D26 #5EC326 #26ACC3
square
#8B26C3 #C33D26 #5EC326 #26ACC3
split-complementary
#8B26C3 #ACC326 #26C33D
monochromatic
#42125D #661C90 #8B26C3 #A84ADC #C17EE6

Accessibility & contrast

On white

6.64
#8B26C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8B26C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B26C3
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B26C3#FFFFFF#000000##FFFFFF
##8B26C31.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C7
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#834F76
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b26c3;
/* rgb */ color: rgb(139, 38, 195);
/* oklch */ color: oklch(50.6% 0.227 309.4);
Tailwind
colors: {
  custom: {
    50: '#b26ed6',
    500: '#8b26c3',
    950: '#000000',
  },
}
SCSS
$custom: #8b26c3;
$custom-light: #b26ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b26c3",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 195
  },
  "hsl": {
    "h": 278.599,
    "s": 67.382,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50601,
    "c": 0.22656,
    "h": 309.4
  },
  "luminance": 0.10815
}

Semantic roles & 50–950 ramp

primary
#8B26C3
secondary
#96CE77
accent
#EA3E7B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8B26C3

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

Preview Lab → · Contrast checker → · Palette generator →

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