#8B29BD#8B29BD

#8B29BD is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.4% C 0.218 H 310.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8B29BD
RGBrgb(139, 41, 189)
HSLhsl(280, 64%, 45%)
HSVhsv(280, 78%, 74%)
CMYKcmyk(26.5%, 78.3%, 0%, 25.9%)
CIE-LABlab(39.16, 62.72, -58.30)
CIE-LCHlch(39.16, 85.63, 317.09°)
OKLaboklab(50.38% 0.1429 -0.1653)
OKLCHoklch(50.38% 0.218 310.8)
XYZxyz(20.6239, 10.7495, 49.1227)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B29BD #5BBD29
analogous
#4129BD #8B29BD #BD29A5
triadic
#8B29BD #BD8B29 #29BD8B
tetradic
#8B29BD #BD4129 #5BBD29 #29A5BD
square
#8B29BD #BD4129 #5BBD29 #29A5BD
split-complementary
#8B29BD #A5BD29 #29BD41
monochromatic
#411358 #661E8B #8B29BD #A84BD8 #C17DE3

Accessibility & contrast

On white

6.67
#8B29BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8B29BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B29BD
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B29BD#FFFFFF#000000##FFFFFF
##8B29BD1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#844E73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b29bd;
/* rgb */ color: rgb(139, 41, 189);
/* oklch */ color: oklch(50.4% 0.218 310.8);
Tailwind
colors: {
  custom: {
    50: '#b26ed2',
    500: '#8b29bd',
    950: '#000000',
  },
}
SCSS
$custom: #8b29bd;
$custom-light: #b26ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b29bd",
  "rgb": {
    "r": 139,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 279.73,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5038,
    "c": 0.21848,
    "h": 310.8
  },
  "luminance": 0.10749
}

Semantic roles & 50–950 ramp

primary
#8B29BD
secondary
#93CB77
accent
#E74079
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8B29BD

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

Preview Lab → · Contrast checker → · Palette generator →

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