#8A2990#8A2990

#8A2990 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.1% C 0.178 H 325.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8A2990
RGBrgb(138, 41, 144)
HSLhsl(297, 56%, 36%)
HSVhsv(297, 72%, 56%)
CMYKcmyk(4.2%, 71.5%, 0%, 43.5%)
CIE-LABlab(35.99, 53.73, -36.41)
CIE-LCHlch(35.99, 64.91, 325.88°)
OKLaboklab(47.15% 0.1469 -0.1012)
OKLCHoklch(47.15% 0.178 325.4)
XYZxyz(16.3078, 9.0038, 27.2591)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2990 #2F9029
analogous
#572990 #8A2990 #902963
triadic
#8A2990 #908A29 #29908A
tetradic
#8A2990 #905729 #2F9029 #296390
square
#8A2990 #905729 #2F9029 #296390
split-complementary
#8A2990 #639029 #299057
monochromatic
#2F0E31 #5C1B60 #8A2990 #B837C0 #CC61D2

Accessibility & contrast

On white

7.50
#8A2990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8A2990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2990
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2990#FFFFFF#000000##FFFFFF
##8A29901.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4D93
Deuteranopia (green-blind)
#3E598D
Tritanopia (blue-blind)
#8D3A5A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2990;
/* rgb */ color: rgb(138, 41, 144);
/* oklch */ color: oklch(47.1% 0.178 325.4);
Tailwind
colors: {
  custom: {
    50: '#af6cb1',
    500: '#8a2990',
    950: '#000000',
  },
}
SCSS
$custom: #8a2990;
$custom-light: #af6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2990",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 296.505,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4715,
    "c": 0.17839,
    "h": 325.4
  },
  "luminance": 0.09003
}

Semantic roles & 50–950 ramp

primary
#8A2990
secondary
#62B85D
accent
#DF4952
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2990

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

Preview Lab → · Contrast checker → · Palette generator →

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