#8B299A#8B299A

#8B299A is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.187 H 322.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8B299A
RGBrgb(139, 41, 154)
HSLhsl(292, 58%, 38%)
HSVhsv(292, 73%, 60%)
CMYKcmyk(9.7%, 73.4%, 0%, 39.6%)
CIE-LABlab(36.76, 55.80, -41.27)
CIE-LCHlch(36.76, 69.40, 323.51°)
OKLaboklab(47.93% 0.1477 -0.1153)
OKLCHoklch(47.93% 0.187 322)
XYZxyz(17.2725, 9.4089, 31.4719)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B299A #389A29
analogous
#52299A #8B299A #9A2970
triadic
#8B299A #9A8B29 #299A8B
tetradic
#8B299A #9A5229 #389A29 #29709A
square
#8B299A #9A5229 #389A29 #29709A
split-complementary
#8B299A #709A29 #299A52
monochromatic
#340F39 #5F1C6A #8B299A #B637CA #C867D7

Accessibility & contrast

On white

7.29
#8B299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8B299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B299A
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B299A#FFFFFF#000000##FFFFFF
##8B299A1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#395A97
Tritanopia (blue-blind)
#8D3E5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b299a;
/* rgb */ color: rgb(139, 41, 154);
/* oklch */ color: oklch(47.9% 0.187 322.0);
Tailwind
colors: {
  custom: {
    50: '#b06db8',
    500: '#8b299a',
    950: '#000000',
  },
}
SCSS
$custom: #8b299a;
$custom-light: #b06db8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b299a",
  "rgb": {
    "r": 139,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 292.035,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47926,
    "c": 0.18744,
    "h": 322
  },
  "luminance": 0.09408
}

Semantic roles & 50–950 ramp

primary
#8B299A
secondary
#6EBD62
accent
#E1475B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B299A

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

Preview Lab → · Contrast checker → · Palette generator →

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