#8A2B9B#8A2B9B

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

Color values

HEX#8A2B9B
RGBrgb(138, 43, 155)
HSLhsl(291, 57%, 39%)
HSVhsv(291, 72%, 61%)
CMYKcmyk(11%, 72.3%, 0%, 39.2%)
CIE-LABlab(36.93, 55.01, -41.62)
CIE-LCHlch(36.93, 68.98, 322.89°)
OKLaboklab(48.03% 0.1445 -0.1164)
OKLCHoklch(48.03% 0.186 321.1)
XYZxyz(17.2608, 9.4985, 31.9282)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B9B #3C9B2B
analogous
#522B9B #8A2B9B #9B2B74
triadic
#8A2B9B #9B8A2B #2B9B8A
tetradic
#8A2B9B #9B522B #3C9B2B #2B749B
square
#8A2B9B #9B522B #3C9B2B #2B749B
split-complementary
#8A2B9B #749B2B #2B9B52
monochromatic
#35103B #5F1E6B #8A2B9B #B33BC9 #C66BD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2B9B#FFFFFF#000000##FFFFFF
##8A2B9B1.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)
#00509E
Deuteranopia (green-blind)
#385A98
Tritanopia (blue-blind)
#8B4060
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a2b9b;
/* rgb */ color: rgb(138, 43, 155);
/* oklch */ color: oklch(48.0% 0.186 321.1);
Tailwind
colors: {
  custom: {
    50: '#b06eb9',
    500: '#8a2b9b',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b9b;
$custom-light: #b06eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b9b",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 290.893,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48034,
    "c": 0.18553,
    "h": 321.1
  },
  "luminance": 0.09498
}

Semantic roles & 50–950 ramp

primary
#8A2B9B
secondary
#73BC65
accent
#E0485F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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