#8A2280#8A2280

#8A2280 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.174 H 332.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8A2280
RGBrgb(138, 34, 128)
HSLhsl(306, 60%, 34%)
HSVhsv(306, 75%, 54%)
CMYKcmyk(0%, 75.4%, 7.2%, 45.9%)
CIE-LABlab(34.20, 53.50, -29.35)
CIE-LCHlch(34.20, 61.02, 331.25°)
OKLaboklab(45.58% 0.1537 -0.0807)
OKLCHoklch(45.58% 0.174 332.3)
XYZxyz(14.9496, 8.1071, 21.1953)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2280 #228A2C
analogous
#60228A #8A2280 #8A224C
triadic
#8A2280 #808A22 #22808A
tetradic
#8A2280 #8A6022 #228A2C #224C8A
square
#8A2280 #8A6022 #228A2C #224C8A
split-complementary
#8A2280 #4C8A22 #228A60
monochromatic
#280A25 #591652 #8A2280 #BB2EAE #D452C8

Accessibility & contrast

On white

8.01
#8A2280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8A2280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2280
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2280#FFFFFF#000000##FFFFFF
##8A22801.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4783
Deuteranopia (green-blind)
#44567D
Tritanopia (blue-blind)
#902E4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2280;
/* rgb */ color: rgb(138, 34, 128);
/* oklch */ color: oklch(45.6% 0.174 332.3);
Tailwind
colors: {
  custom: {
    50: '#b069a5',
    500: '#8a2280',
    950: '#000000',
  },
}
SCSS
$custom: #8a2280;
$custom-light: #b069a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2280",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 305.769,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45575,
    "c": 0.17362,
    "h": 332.3
  },
  "luminance": 0.08106
}

Semantic roles & 50–950 ramp

primary
#8A2280
secondary
#50B85A
accent
#E45444
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2280

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

Preview Lab → · Contrast checker → · Palette generator →

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