#8A2B95#8A2B95

#8A2B95 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.180 H 323.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8A2B95
RGBrgb(138, 43, 149)
HSLhsl(294, 55%, 38%)
HSVhsv(294, 71%, 58%)
CMYKcmyk(7.4%, 71.1%, 0%, 41.6%)
CIE-LABlab(36.56, 53.89, -38.56)
CIE-LCHlch(36.56, 66.26, 324.41°)
OKLaboklab(47.65% 0.1447 -0.1075)
OKLCHoklch(47.65% 0.18 323.4)
XYZxyz(16.7694, 9.3019, 29.3401)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B95 #36952B
analogous
#552B95 #8A2B95 #952B6B
triadic
#8A2B95 #958A2B #2B958A
tetradic
#8A2B95 #95552B #36952B #2B6B95
square
#8A2B95 #95552B #36952B #2B6B95
split-complementary
#8A2B95 #6B952B #2B9555
monochromatic
#321036 #5E1D66 #8A2B95 #B639C4 #C867D3

Accessibility & contrast

On white

7.34
#8A2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8A2B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B95
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B95#FFFFFF#000000##FFFFFF
##8A2B951.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084F98
Deuteranopia (green-blind)
#3C5A92
Tritanopia (blue-blind)
#8C3D5D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a2b95;
/* rgb */ color: rgb(138, 43, 149);
/* oklch */ color: oklch(47.7% 0.180 323.4);
Tailwind
colors: {
  custom: {
    50: '#af6db5',
    500: '#8a2b95',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b95;
$custom-light: #af6db5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b95",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 293.774,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47653,
    "c": 0.18026,
    "h": 323.4
  },
  "luminance": 0.09301
}

Semantic roles & 50–950 ramp

primary
#8A2B95
secondary
#6BBA62
accent
#DF4959
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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