#8B2AA3#8B2AA3

#8B2AA3 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.194 H 318.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8B2AA3
RGBrgb(139, 42, 163)
HSLhsl(288, 59%, 40%)
HSVhsv(288, 74%, 64%)
CMYKcmyk(14.7%, 74.2%, 0%, 36.1%)
CIE-LABlab(37.46, 57.14, -45.58)
CIE-LCHlch(37.46, 73.09, 321.42°)
OKLaboklab(48.61% 0.1461 -0.128)
OKLCHoklch(48.61% 0.194 318.8)
XYZxyz(18.0854, 9.7901, 35.5803)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2AA3 #42A32A
analogous
#4E2AA3 #8B2AA3 #A32A7E
triadic
#8B2AA3 #A38B2A #2AA38B
tetradic
#8B2AA3 #A34E2A #42A32A #2A7EA3
square
#8B2AA3 #A34E2A #42A32A #2A7EA3
split-complementary
#8B2AA3 #7EA32A #2AA34E
monochromatic
#381142 #621D72 #8B2AA3 #B13DCD #C46EDA

Accessibility & contrast

On white

7.10
#8B2AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8B2AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2AA3
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2AA3#FFFFFF#000000##FFFFFF
##8B2AA31.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#315BA0
Tritanopia (blue-blind)
#8B4364
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b2aa3;
/* rgb */ color: rgb(139, 42, 163);
/* oklch */ color: oklch(48.6% 0.194 318.8);
Tailwind
colors: {
  custom: {
    50: '#b16ebf',
    500: '#8b2aa3',
    950: '#000000',
  },
}
SCSS
$custom: #8b2aa3;
$custom-light: #b16ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2aa3",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 288.099,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4861,
    "c": 0.19418,
    "h": 318.8
  },
  "luminance": 0.09789
}

Semantic roles & 50–950 ramp

primary
#8B2AA3
secondary
#7AC068
accent
#E24665
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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