#8A2380#8A2380

#8A2380 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.7% C 0.172 H 332.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8A2380
RGBrgb(138, 35, 128)
HSLhsl(306, 60%, 34%)
HSVhsv(306, 75%, 54%)
CMYKcmyk(0%, 74.6%, 7.2%, 45.9%)
CIE-LABlab(34.32, 53.16, -29.16)
CIE-LCHlch(34.32, 60.63, 331.25°)
OKLaboklab(45.66% 0.1527 -0.0801)
OKLCHoklch(45.66% 0.172 332.3)
XYZxyz(14.9786, 8.1651, 21.2050)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2380 #238A2D
analogous
#61238A #8A2380 #8A234D
triadic
#8A2380 #808A23 #23808A
tetradic
#8A2380 #8A6123 #238A2D #234D8A
square
#8A2380 #8A6123 #238A2D #234D8A
split-complementary
#8A2380 #4D8A23 #238A61
monochromatic
#280A25 #591753 #8A2380 #BB2FAD #D454C7

Accessibility & contrast

On white

7.98
#8A2380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8A2380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2380
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2380#FFFFFF#000000##FFFFFF
##8A23801.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4783
Deuteranopia (green-blind)
#44567E
Tritanopia (blue-blind)
#902E4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2380;
/* rgb */ color: rgb(138, 35, 128);
/* oklch */ color: oklch(45.7% 0.172 332.3);
Tailwind
colors: {
  custom: {
    50: '#af69a5',
    500: '#8a2380',
    950: '#000000',
  },
}
SCSS
$custom: #8a2380;
$custom-light: #af69a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2380",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 305.825,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45661,
    "c": 0.17249,
    "h": 332.3
  },
  "luminance": 0.08164
}

Semantic roles & 50–950 ramp

primary
#8A2380
secondary
#51B75B
accent
#E35445
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2380

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

Preview Lab → · Contrast checker → · Palette generator →

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