#8A2DA0#8A2DA0

#8A2DA0 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.188 H 319.2°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8A2DA0
RGBrgb(138, 45, 160)
HSLhsl(289, 56%, 40%)
HSVhsv(289, 72%, 63%)
CMYKcmyk(13.8%, 71.9%, 0%, 37.3%)
CIE-LABlab(37.52, 55.20, -43.70)
CIE-LCHlch(37.52, 70.40, 321.63°)
OKLaboklab(48.56% 0.1421 -0.1225)
OKLCHoklch(48.56% 0.188 319.2)
XYZxyz(17.7640, 9.8190, 34.2104)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2DA0 #43A02D
analogous
#512DA0 #8A2DA0 #A02D7C
triadic
#8A2DA0 #A08A2D #2DA08A
tetradic
#8A2DA0 #A0512D #43A02D #2D7CA0
square
#8A2DA0 #A0512D #43A02D #2D7CA0
split-complementary
#8A2DA0 #7CA02D #2DA051
monochromatic
#381240 #612070 #8A2DA0 #AF41C9 #C370D7

Accessibility & contrast

On white

7.09
#8A2DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8A2DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2DA0
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2DA0#FFFFFF#000000##FFFFFF
##8A2DA01.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#355B9D
Tritanopia (blue-blind)
#8A4364
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a2da0;
/* rgb */ color: rgb(138, 45, 160);
/* oklch */ color: oklch(48.6% 0.188 319.2);
Tailwind
colors: {
  custom: {
    50: '#b06fbd',
    500: '#8a2da0',
    950: '#000000',
  },
}
SCSS
$custom: #8a2da0;
$custom-light: #b06fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2da0",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 288.522,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48555,
    "c": 0.18759,
    "h": 319.2
  },
  "luminance": 0.09818
}

Semantic roles & 50–950 ramp

primary
#8A2DA0
secondary
#7BBE6B
accent
#DF4865
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A2DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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