#8A2890#8A2890

#8A2890 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.180 H 325.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#8A2890
RGBrgb(138, 40, 144)
HSLhsl(297, 57%, 36%)
HSVhsv(297, 72%, 56%)
CMYKcmyk(4.2%, 72.2%, 0%, 43.5%)
CIE-LABlab(35.86, 54.11, -36.62)
CIE-LCHlch(35.86, 65.34, 325.91°)
OKLaboklab(47.06% 0.1479 -0.1018)
OKLCHoklch(47.06% 0.18 325.5)
XYZxyz(16.2737, 8.9355, 27.2477)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2890 #2E9028
analogous
#562890 #8A2890 #902862
triadic
#8A2890 #908A28 #28908A
tetradic
#8A2890 #905628 #2E9028 #286290
square
#8A2890 #905628 #2E9028 #286290
split-complementary
#8A2890 #629028 #289056
monochromatic
#2E0D30 #5C1B60 #8A2890 #B835C0 #CC60D3

Accessibility & contrast

On white

7.54
#8A2890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8A2890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2890
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2890#FFFFFF#000000##FFFFFF
##8A28901.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4D93
Deuteranopia (green-blind)
#3E588D
Tritanopia (blue-blind)
#8D3959
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2890;
/* rgb */ color: rgb(138, 40, 144);
/* oklch */ color: oklch(47.1% 0.180 325.5);
Tailwind
colors: {
  custom: {
    50: '#af6cb1',
    500: '#8a2890',
    950: '#000000',
  },
}
SCSS
$custom: #8a2890;
$custom-light: #af6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2890",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 296.538,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47056,
    "c": 0.17958,
    "h": 325.5
  },
  "luminance": 0.08934
}

Semantic roles & 50–950 ramp

primary
#8A2890
secondary
#61B85C
accent
#E04851
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2890

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

Preview Lab → · Contrast checker → · Palette generator →

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