#8A2C90#8A2C90

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

Color values

HEX#8A2C90
RGBrgb(138, 44, 144)
HSLhsl(296, 53%, 37%)
HSVhsv(296, 69%, 56%)
CMYKcmyk(4.2%, 69.4%, 0%, 43.5%)
CIE-LABlab(36.40, 52.57, -35.76)
CIE-LCHlch(36.40, 63.58, 325.78°)
OKLaboklab(47.45% 0.1437 -0.0993)
OKLCHoklch(47.45% 0.175 325.3)
XYZxyz(16.4156, 9.2193, 27.2950)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C90 #32902C
analogous
#582C90 #8A2C90 #902C64
triadic
#8A2C90 #908A2C #2C908A
tetradic
#8A2C90 #90582C #32902C #2C6490
square
#8A2C90 #90582C #32902C #2C6490
split-complementary
#8A2C90 #64902C #2C9058
monochromatic
#300F32 #5D1E61 #8A2C90 #B73ABF #CA66D0

Accessibility & contrast

On white

7.39
#8A2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2C90
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C90#FFFFFF#000000##FFFFFF
##8A2C901.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164E93
Deuteranopia (green-blind)
#405A8D
Tritanopia (blue-blind)
#8D3C5A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a2c90;
/* rgb */ color: rgb(138, 44, 144);
/* oklch */ color: oklch(47.4% 0.175 325.3);
Tailwind
colors: {
  custom: {
    50: '#af6eb1',
    500: '#8a2c90',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c90;
$custom-light: #af6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c90",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 296.4,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47445,
    "c": 0.17467,
    "h": 325.3
  },
  "luminance": 0.09218
}

Semantic roles & 50–950 ramp

primary
#8A2C90
secondary
#66B761
accent
#DD4B54
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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