#8B29B2#8B29B2

#8B29B2 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.209 H 314.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8B29B2
RGBrgb(139, 41, 178)
HSLhsl(283, 63%, 43%)
HSVhsv(283, 77%, 70%)
CMYKcmyk(21.9%, 77%, 0%, 30.2%)
CIE-LABlab(38.36, 60.47, -53.10)
CIE-LCHlch(38.36, 80.47, 318.71°)
OKLaboklab(49.57% 0.145 -0.15)
OKLCHoklch(49.57% 0.209 314)
XYZxyz(19.4749, 10.2899, 43.0711)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B29B2 #50B229
analogous
#4729B2 #8B29B2 #B22994
triadic
#8B29B2 #B28B29 #29B28B
tetradic
#8B29B2 #B24729 #50B229 #2994B2
square
#8B29B2 #B24729 #50B229 #2994B2
split-complementary
#8B29B2 #94B229 #29B247
monochromatic
#3D124F #641E80 #8B29B2 #AB44D4 #C176DF

Accessibility & contrast

On white

6.87
#8B29B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8B29B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B29B2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B29B2#FFFFFF#000000##FFFFFF
##8B29B21.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#1D5DAF
Tritanopia (blue-blind)
#87496D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b29b2;
/* rgb */ color: rgb(139, 41, 178);
/* oklch */ color: oklch(49.6% 0.209 314.0);
Tailwind
colors: {
  custom: {
    50: '#b16eca',
    500: '#8b29b2',
    950: '#000000',
  },
}
SCSS
$custom: #8b29b2;
$custom-light: #b16eca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b29b2",
  "rgb": {
    "r": 139,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 282.92,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49568,
    "c": 0.2086,
    "h": 314
  },
  "luminance": 0.10289
}

Semantic roles & 50–950 ramp

primary
#8B29B2
secondary
#89C770
accent
#E64271
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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