#8A2C8F#8A2C8F

#8A2C8F is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.174 H 325.8°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8A2C8F
RGBrgb(138, 44, 143)
HSLhsl(297, 53%, 37%)
HSVhsv(297, 69%, 56%)
CMYKcmyk(3.5%, 69.2%, 0%, 43.9%)
CIE-LABlab(36.35, 52.39, -35.24)
CIE-LCHlch(36.35, 63.14, 326.08°)
OKLaboklab(47.39% 0.1437 -0.0978)
OKLCHoklch(47.39% 0.174 325.8)
XYZxyz(16.3395, 9.1889, 26.8943)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C8F #318F2C
analogous
#592C8F #8A2C8F #8F2C63
triadic
#8A2C8F #8F8A2C #2C8F8A
tetradic
#8A2C8F #8F592C #318F2C #2C638F
square
#8A2C8F #8F592C #318F2C #2C638F
split-complementary
#8A2C8F #638F2C #2C8F59
monochromatic
#300F31 #5D1E60 #8A2C8F #B73ABE #CA66D0

Accessibility & contrast

On white

7.40
#8A2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8A2C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C8F
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C8F#FFFFFF#000000##FFFFFF
##8A2C8F1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184E92
Deuteranopia (green-blind)
#415A8C
Tritanopia (blue-blind)
#8D3B5A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2c8f;
/* rgb */ color: rgb(138, 44, 143);
/* oklch */ color: oklch(47.4% 0.174 325.8);
Tailwind
colors: {
  custom: {
    50: '#af6eb0',
    500: '#8a2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c8f;
$custom-light: #af6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c8f",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 296.97,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47385,
    "c": 0.1738,
    "h": 325.8
  },
  "luminance": 0.09188
}

Semantic roles & 50–950 ramp

primary
#8A2C8F
secondary
#65B661
accent
#DC4B53
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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