#8B2BA4#8B2BA4

#8B2BA4 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.194 H 318.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8B2BA4
RGBrgb(139, 43, 164)
HSLhsl(288, 58%, 41%)
HSVhsv(288, 74%, 64%)
CMYKcmyk(15.2%, 73.8%, 0%, 35.7%)
CIE-LABlab(37.66, 56.96, -45.87)
CIE-LCHlch(37.66, 73.13, 321.16°)
OKLaboklab(48.77% 0.145 -0.1288)
OKLCHoklch(48.77% 0.194 318.4)
XYZxyz(18.2113, 9.8979, 36.0660)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2BA4 #44A42B
analogous
#4E2BA4 #8B2BA4 #A42B80
triadic
#8B2BA4 #A48B2B #2BA48B
tetradic
#8B2BA4 #A44E2B #44A42B #2B80A4
square
#8B2BA4 #A44E2B #44A42B #2B80A4
split-complementary
#8B2BA4 #80A42B #2BA44E
monochromatic
#391243 #621E74 #8B2BA4 #B03FCD #C470D9

Accessibility & contrast

On white

7.05
#8B2BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8B2BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2BA4
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2BA4#FFFFFF#000000##FFFFFF
##8B2BA41.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#315CA1
Tritanopia (blue-blind)
#8A4465
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b2ba4;
/* rgb */ color: rgb(139, 43, 164);
/* oklch */ color: oklch(48.8% 0.194 318.4);
Tailwind
colors: {
  custom: {
    50: '#b16ec0',
    500: '#8b2ba4',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ba4;
$custom-light: #b16ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ba4",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 287.603,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4877,
    "c": 0.19394,
    "h": 318.4
  },
  "luminance": 0.09897
}

Semantic roles & 50–950 ramp

primary
#8B2BA4
secondary
#7CC16A
accent
#E24666
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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