#8B26C9#8B26C9

#8B26C9 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 51.1% C 0.232 H 307.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8B26C9
RGBrgb(139, 38, 201)
HSLhsl(277, 68%, 47%)
HSVhsv(277, 81%, 79%)
CMYKcmyk(30.8%, 81.1%, 0%, 21.2%)
CIE-LABlab(39.74, 66.20, -64.37)
CIE-LCHlch(39.74, 92.33, 315.80°)
OKLaboklab(51.07% 0.1423 -0.1831)
OKLCHoklch(51.07% 0.232 307.9)
XYZxyz(21.8809, 11.0926, 56.2354)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B26C9 #64C926
analogous
#3A26C9 #8B26C9 #C926B6
triadic
#8B26C9 #C98B26 #26C98B
tetradic
#8B26C9 #C93A26 #64C926 #26B6C9
square
#8B26C9 #C93A26 #64C926 #26B6C9
split-complementary
#8B26C9 #B6C926 #26C93A
monochromatic
#441362 #671C96 #8B26C9 #A74FDE #C182E7

Accessibility & contrast

On white

6.52
#8B26C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8B26C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B26C9
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B26C9#FFFFFF#000000##FFFFFF
##8B26C91.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#815279
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b26c9;
/* rgb */ color: rgb(139, 38, 201);
/* oklch */ color: oklch(51.1% 0.232 307.9);
Tailwind
colors: {
  custom: {
    50: '#b36eda',
    500: '#8b26c9',
    950: '#000000',
  },
}
SCSS
$custom: #8b26c9;
$custom-light: #b36eda;
$custom-dark: #000000;
JSON
{
  "hex": "#8b26c9",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 201
  },
  "hsl": {
    "h": 277.178,
    "s": 68.201,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51073,
    "c": 0.2319,
    "h": 307.9
  },
  "luminance": 0.11092
}

Semantic roles & 50–950 ramp

primary
#8B26C9
secondary
#9BD07B
accent
#EB3D7F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8B26C9

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

Preview Lab → · Contrast checker → · Palette generator →

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