#8A2B8F#8A2B8F

#8A2B8F is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.175 H 325.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8A2B8F
RGBrgb(138, 43, 143)
HSLhsl(297, 54%, 36%)
HSVhsv(297, 70%, 56%)
CMYKcmyk(3.5%, 69.9%, 0%, 43.9%)
CIE-LABlab(36.21, 52.79, -35.46)
CIE-LCHlch(36.21, 63.59, 326.11°)
OKLaboklab(47.28% 0.1448 -0.0984)
OKLCHoklch(47.28% 0.175 325.8)
XYZxyz(16.3027, 9.1152, 26.8820)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B8F #308F2B
analogous
#582B8F #8A2B8F #8F2B62
triadic
#8A2B8F #8F8A2B #2B8F8A
tetradic
#8A2B8F #8F582B #308F2B #2B628F
square
#8A2B8F #8F582B #308F2B #2B628F
split-complementary
#8A2B8F #628F2B #2B8F58
monochromatic
#2F0F31 #5D1D60 #8A2B8F #B739BE #CB64D0

Accessibility & contrast

On white

7.44
#8A2B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8A2B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B8F
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B8F#FFFFFF#000000##FFFFFF
##8A2B8F1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164E92
Deuteranopia (green-blind)
#40598C
Tritanopia (blue-blind)
#8D3B5A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2b8f;
/* rgb */ color: rgb(138, 43, 143);
/* oklch */ color: oklch(47.3% 0.175 325.8);
Tailwind
colors: {
  custom: {
    50: '#af6db0',
    500: '#8a2b8f',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b8f;
$custom-light: #af6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b8f",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 297,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47284,
    "c": 0.17507,
    "h": 325.8
  },
  "luminance": 0.09114
}

Semantic roles & 50–950 ramp

primary
#8A2B8F
secondary
#64B75F
accent
#DD4B52
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A2B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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