#8B299B#8B299B

#8B299B is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.188 H 321.7°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8B299B
RGBrgb(139, 41, 155)
HSLhsl(292, 58%, 38%)
HSVhsv(292, 74%, 61%)
CMYKcmyk(10.3%, 73.5%, 0%, 39.2%)
CIE-LABlab(36.82, 55.98, -41.78)
CIE-LCHlch(36.82, 69.85, 323.27°)
OKLaboklab(47.99% 0.1477 -0.1168)
OKLCHoklch(47.99% 0.188 321.7)
XYZxyz(17.3561, 9.4424, 31.9124)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B299B #399B29
analogous
#52299B #8B299B #9B2972
triadic
#8B299B #9B8B29 #299B8B
tetradic
#8B299B #9B5229 #399B29 #29729B
square
#8B299B #9B5229 #399B29 #29729B
split-complementary
#8B299B #729B29 #299B52
monochromatic
#340F3A #601C6B #8B299B #B537CA #C767D7

Accessibility & contrast

On white

7.27
#8B299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8B299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B299B
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B299B#FFFFFF#000000##FFFFFF
##8B299B1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#385A98
Tritanopia (blue-blind)
#8C3E60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b299b;
/* rgb */ color: rgb(139, 41, 155);
/* oklch */ color: oklch(48.0% 0.188 321.7);
Tailwind
colors: {
  custom: {
    50: '#b06db9',
    500: '#8b299b',
    950: '#000000',
  },
}
SCSS
$custom: #8b299b;
$custom-light: #b06db9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b299b",
  "rgb": {
    "r": 139,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 291.579,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47991,
    "c": 0.1883,
    "h": 321.7
  },
  "luminance": 0.09441
}

Semantic roles & 50–950 ramp

primary
#8B299B
secondary
#6FBD63
accent
#E1465C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B299B

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

Preview Lab → · Contrast checker → · Palette generator →

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