#8A2C9C#8A2C9C

#8A2C9C is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.185 H 320.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8A2C9C
RGBrgb(138, 44, 156)
HSLhsl(290, 56%, 39%)
HSVhsv(290, 72%, 61%)
CMYKcmyk(11.5%, 71.8%, 0%, 38.8%)
CIE-LABlab(37.13, 54.82, -41.91)
CIE-LCHlch(37.13, 69.00, 322.60°)
OKLaboklab(48.2% 0.1434 -0.1173)
OKLCHoklch(48.2% 0.185 320.7)
XYZxyz(17.3820, 9.6058, 32.3846)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C9C #3E9C2C
analogous
#522C9C #8A2C9C #9C2C76
triadic
#8A2C9C #9C8A2C #2C9C8A
tetradic
#8A2C9C #9C522C #3E9C2C #2C769C
square
#8A2C9C #9C522C #3E9C2C #2C769C
split-complementary
#8A2C9C #769C2C #2C9C52
monochromatic
#36113D #601F6C #8A2C9C #B23DC8 #C56DD6

Accessibility & contrast

On white

7.19
#8A2C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8A2C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C9C
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C9C#FFFFFF#000000##FFFFFF
##8A2C9C1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#385B99
Tritanopia (blue-blind)
#8B4161
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a2c9c;
/* rgb */ color: rgb(138, 44, 156);
/* oklch */ color: oklch(48.2% 0.185 320.7);
Tailwind
colors: {
  custom: {
    50: '#b06eba',
    500: '#8a2c9c',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c9c;
$custom-light: #b06eba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c9c",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 290.357,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48196,
    "c": 0.18522,
    "h": 320.7
  },
  "luminance": 0.09605
}

Semantic roles & 50–950 ramp

primary
#8A2C9C
secondary
#75BD67
accent
#DF4961
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A2C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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