#8A2B9C#8A2B9C

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

Color values

HEX#8A2B9C
RGBrgb(138, 43, 156)
HSLhsl(290, 57%, 39%)
HSVhsv(290, 72%, 61%)
CMYKcmyk(11.5%, 72.4%, 0%, 38.8%)
CIE-LABlab(36.99, 55.20, -42.12)
CIE-LCHlch(36.99, 69.44, 322.65°)
OKLaboklab(48.1% 0.1444 -0.1179)
OKLCHoklch(48.1% 0.186 320.8)
XYZxyz(17.3452, 9.5322, 32.3723)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B9C #3D9C2B
analogous
#512B9C #8A2B9C #9C2B76
triadic
#8A2B9C #9C8A2B #2B9C8A
tetradic
#8A2B9C #9C512B #3D9C2B #2B769C
square
#8A2B9C #9C512B #3D9C2B #2B769C
split-complementary
#8A2B9C #769C2B #2B9C51
monochromatic
#35113C #601E6C #8A2B9C #B23BC9 #C56BD6

Accessibility & contrast

On white

7.23
#8A2B9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2B9C
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B9C#FFFFFF#000000##FFFFFF
##8A2B9C1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#375A99
Tritanopia (blue-blind)
#8B4061
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a2b9c;
/* rgb */ color: rgb(138, 43, 156);
/* oklch */ color: oklch(48.1% 0.186 320.8);
Tailwind
colors: {
  custom: {
    50: '#b06eba',
    500: '#8a2b9c',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b9c;
$custom-light: #b06eba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b9c",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 156
  },
  "hsl": {
    "h": 290.442,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48098,
    "c": 0.18641,
    "h": 320.8
  },
  "luminance": 0.09531
}

Semantic roles & 50–950 ramp

primary
#8A2B9C
secondary
#74BD66
accent
#E04860
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A2B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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