#8A2D8F#8A2D8F

#8A2D8F is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.173 H 325.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8A2D8F
RGBrgb(138, 45, 143)
HSLhsl(297, 52%, 37%)
HSVhsv(297, 69%, 56%)
CMYKcmyk(3.5%, 68.5%, 0%, 43.9%)
CIE-LABlab(36.49, 51.99, -35.01)
CIE-LCHlch(36.49, 62.68, 326.04°)
OKLaboklab(47.49% 0.1426 -0.0971)
OKLCHoklch(47.49% 0.173 325.7)
XYZxyz(16.3772, 9.2643, 26.9068)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D8F #328F2D
analogous
#592D8F #8A2D8F #8F2D63
triadic
#8A2D8F #8F8A2D #2D8F8A
tetradic
#8A2D8F #8F592D #328F2D #2D638F
square
#8A2D8F #8F592D #328F2D #2D638F
split-complementary
#8A2D8F #638F2D #2D8F59
monochromatic
#301032 #5D1E60 #8A2D8F #B73CBE #CA67CF

Accessibility & contrast

On white

7.36
#8A2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8A2D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D8F
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D8F#FFFFFF#000000##FFFFFF
##8A2D8F1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4E92
Deuteranopia (green-blind)
#415A8C
Tritanopia (blue-blind)
#8D3C5A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a2d8f;
/* rgb */ color: rgb(138, 45, 143);
/* oklch */ color: oklch(47.5% 0.173 325.7);
Tailwind
colors: {
  custom: {
    50: '#af6eb0',
    500: '#8a2d8f',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d8f;
$custom-light: #af6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d8f",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 296.939,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47488,
    "c": 0.17251,
    "h": 325.7
  },
  "luminance": 0.09263
}

Semantic roles & 50–950 ramp

primary
#8A2D8F
secondary
#66B662
accent
#DC4C54
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A2D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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