#8A2D9C#8A2D9C

#8A2D9C is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.184 H 320.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8A2D9C
RGBrgb(138, 45, 156)
HSLhsl(290, 55%, 39%)
HSVhsv(290, 71%, 61%)
CMYKcmyk(11.5%, 71.2%, 0%, 38.8%)
CIE-LABlab(37.26, 54.43, -41.69)
CIE-LCHlch(37.26, 68.56, 322.55°)
OKLaboklab(48.3% 0.1423 -0.1166)
OKLCHoklch(48.3% 0.184 320.7)
XYZxyz(17.4197, 9.6812, 32.3972)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D9C #3F9C2D
analogous
#522D9C #8A2D9C #9C2D77
triadic
#8A2D9C #9C8A2D #2D9C8A
tetradic
#8A2D9C #9C522D #3F9C2D #2D779C
square
#8A2D9C #9C522D #3F9C2D #2D779C
split-complementary
#8A2D9C #779C2D #2D9C52
monochromatic
#36123D #601F6D #8A2D9C #B13FC8 #C56ED5

Accessibility & contrast

On white

7.15
#8A2D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8A2D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D9C
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D9C#FFFFFF#000000##FFFFFF
##8A2D9C1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2d9c;
/* rgb */ color: rgb(138, 45, 156);
/* oklch */ color: oklch(48.3% 0.184 320.7);
Tailwind
colors: {
  custom: {
    50: '#b06fba',
    500: '#8a2d9c',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d9c;
$custom-light: #b06fba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d9c",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 290.27,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48295,
    "c": 0.18399,
    "h": 320.7
  },
  "luminance": 0.0968
}

Semantic roles & 50–950 ramp

primary
#8A2D9C
secondary
#76BC68
accent
#DF4961
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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