#8A2C83#8A2C83

#8A2C83 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.7% C 0.164 H 331.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8A2C83
RGBrgb(138, 44, 131)
HSLhsl(304, 52%, 36%)
HSVhsv(304, 68%, 54%)
CMYKcmyk(0%, 68.1%, 5.1%, 45.9%)
CIE-LABlab(35.68, 50.27, -28.89)
CIE-LCHlch(35.68, 57.98, 330.12°)
OKLaboklab(46.69% 0.1431 -0.0794)
OKLCHoklch(46.69% 0.164 331)
XYZxyz(15.4786, 8.8445, 22.3602)
Luminance0.0884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C83 #2C8A33
analogous
#622C8A #8A2C83 #8A2C54
triadic
#8A2C83 #838A2C #2C838A
tetradic
#8A2C83 #8A622C #2C8A33 #2C548A
square
#8A2C83 #8A622C #2C8A33 #2C548A
split-complementary
#8A2C83 #548A2C #2C8A62
monochromatic
#2D0E2B #5C1D57 #8A2C83 #B83BAF #CD63C5

Accessibility & contrast

On white

7.59
#8A2C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8A2C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C83
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C83#FFFFFF#000000##FFFFFF
##8A2C831.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254C86
Deuteranopia (green-blind)
#475981
Tritanopia (blue-blind)
#8F3654
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2c83;
/* rgb */ color: rgb(138, 44, 131);
/* oklch */ color: oklch(46.7% 0.164 331.0);
Tailwind
colors: {
  custom: {
    50: '#af6da7',
    500: '#8a2c83',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c83;
$custom-light: #af6da7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c83",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 304.468,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46693,
    "c": 0.16369,
    "h": 331
  },
  "luminance": 0.08843
}

Semantic roles & 50–950 ramp

primary
#8A2C83
secondary
#5EB465
accent
#DB574D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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