#8B299E#8B299E

#8B299E is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.191 H 320.6°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8B299E
RGBrgb(139, 41, 158)
HSLhsl(290, 59%, 39%)
HSVhsv(290, 74%, 62%)
CMYKcmyk(12%, 74.1%, 0%, 38%)
CIE-LABlab(37.01, 56.55, -43.29)
CIE-LCHlch(37.01, 71.22, 322.57°)
OKLaboklab(48.19% 0.1475 -0.1212)
OKLCHoklch(48.19% 0.191 320.6)
XYZxyz(17.6112, 9.5444, 33.2557)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B299E #3C9E29
analogous
#50299E #8B299E #9E2977
triadic
#8B299E #9E8B29 #299E8B
tetradic
#8B299E #9E5029 #3C9E29 #29779E
square
#8B299E #9E5029 #3C9E29 #29779E
split-complementary
#8B299E #779E29 #299E50
monochromatic
#36103D #601C6D #8B299E #B439CC #C669D8

Accessibility & contrast

On white

7.22
#8B299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8B299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B299E
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B299E#FFFFFF#000000##FFFFFF
##8B299E1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#355B9B
Tritanopia (blue-blind)
#8C4061
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b299e;
/* rgb */ color: rgb(139, 41, 158);
/* oklch */ color: oklch(48.2% 0.191 320.6);
Tailwind
colors: {
  custom: {
    50: '#b06dbb',
    500: '#8b299e',
    950: '#000000',
  },
}
SCSS
$custom: #8b299e;
$custom-light: #b06dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b299e",
  "rgb": {
    "r": 139,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 290.256,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48187,
    "c": 0.19091,
    "h": 320.6
  },
  "luminance": 0.09543
}

Semantic roles & 50–950 ramp

primary
#8B299E
secondary
#73BF64
accent
#E2465F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B299E

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

Preview Lab → · Contrast checker → · Palette generator →

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