#8B299D#8B299D

#8B299D is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.190 H 320.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8B299D
RGBrgb(139, 41, 157)
HSLhsl(291, 59%, 39%)
HSVhsv(291, 74%, 62%)
CMYKcmyk(11.5%, 73.9%, 0%, 38.4%)
CIE-LABlab(36.95, 56.36, -42.79)
CIE-LCHlch(36.95, 70.76, 322.80°)
OKLaboklab(48.12% 0.1475 -0.1198)
OKLCHoklch(48.12% 0.19 320.9)
XYZxyz(17.5255, 9.5101, 32.8043)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B299D #3B9D29
analogous
#51299D #8B299D #9D2975
triadic
#8B299D #9D8B29 #299D8B
tetradic
#8B299D #9D5129 #3B9D29 #29759D
square
#8B299D #9D5129 #3B9D29 #29759D
split-complementary
#8B299D #759D29 #299D51
monochromatic
#35103C #601C6C #8B299D #B438CB #C769D8

Accessibility & contrast

On white

7.24
#8B299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8B299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B299D
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B299D#FFFFFF#000000##FFFFFF
##8B299D1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#365A9A
Tritanopia (blue-blind)
#8C3F61
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b299d;
/* rgb */ color: rgb(139, 41, 157);
/* oklch */ color: oklch(48.1% 0.190 320.9);
Tailwind
colors: {
  custom: {
    50: '#b06dba',
    500: '#8b299d',
    950: '#000000',
  },
}
SCSS
$custom: #8b299d;
$custom-light: #b06dba;
$custom-dark: #000000;
JSON
{
  "hex": "#8b299d",
  "rgb": {
    "r": 139,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 290.69,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48121,
    "c": 0.19004,
    "h": 320.9
  },
  "luminance": 0.09509
}

Semantic roles & 50–950 ramp

primary
#8B299D
secondary
#72BE64
accent
#E2465E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B299D

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

Preview Lab → · Contrast checker → · Palette generator →

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