#8A2B90#8A2B90

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

Color values

HEX#8A2B90
RGBrgb(138, 43, 144)
HSLhsl(296, 54%, 37%)
HSVhsv(296, 70%, 56%)
CMYKcmyk(4.2%, 70.1%, 0%, 43.5%)
CIE-LABlab(36.26, 52.97, -35.98)
CIE-LCHlch(36.26, 64.03, 325.81°)
OKLaboklab(47.35% 0.1448 -0.1)
OKLCHoklch(47.35% 0.176 325.4)
XYZxyz(16.3788, 9.1457, 27.2828)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B90 #31902B
analogous
#582B90 #8A2B90 #902B64
triadic
#8A2B90 #908A2B #2B908A
tetradic
#8A2B90 #90582B #31902B #2B6490
square
#8A2B90 #90582B #31902B #2B6490
split-complementary
#8A2B90 #64902B #2B9058
monochromatic
#300F32 #5D1D61 #8A2B90 #B739BF #CA65D1

Accessibility & contrast

On white

7.42
#8A2B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8A2B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B90
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B90#FFFFFF#000000##FFFFFF
##8A2B901.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144E93
Deuteranopia (green-blind)
#40598D
Tritanopia (blue-blind)
#8D3B5A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2b90;
/* rgb */ color: rgb(138, 43, 144);
/* oklch */ color: oklch(47.3% 0.176 325.4);
Tailwind
colors: {
  custom: {
    50: '#af6db1',
    500: '#8a2b90',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b90;
$custom-light: #af6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b90",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 296.436,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47345,
    "c": 0.17593,
    "h": 325.4
  },
  "luminance": 0.09145
}

Semantic roles & 50–950 ramp

primary
#8A2B90
secondary
#65B760
accent
#DD4A53
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2B90

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

Preview Lab → · Contrast checker → · Palette generator →

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