#8A2CA0#8A2CA0

#8A2CA0 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.189 H 319.3°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8A2CA0
RGBrgb(138, 44, 160)
HSLhsl(289, 57%, 40%)
HSVhsv(289, 73%, 63%)
CMYKcmyk(13.8%, 72.5%, 0%, 37.3%)
CIE-LABlab(37.38, 55.59, -43.92)
CIE-LCHlch(37.38, 70.85, 321.69°)
OKLaboklab(48.46% 0.1431 -0.1231)
OKLCHoklch(48.46% 0.189 319.3)
XYZxyz(17.7263, 9.7436, 34.1979)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2CA0 #42A02C
analogous
#502CA0 #8A2CA0 #A02C7C
triadic
#8A2CA0 #A08A2C #2CA08A
tetradic
#8A2CA0 #A0502C #42A02C #2C7CA0
square
#8A2CA0 #A0502C #42A02C #2C7CA0
split-complementary
#8A2CA0 #7CA02C #2CA050
monochromatic
#371240 #611F70 #8A2CA0 #B03FCA #C46FD7

Accessibility & contrast

On white

7.12
#8A2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8A2CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2CA0
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2CA0#FFFFFF#000000##FFFFFF
##8A2CA01.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2ca0;
/* rgb */ color: rgb(138, 44, 160);
/* oklch */ color: oklch(48.5% 0.189 319.3);
Tailwind
colors: {
  custom: {
    50: '#b06ebd',
    500: '#8a2ca0',
    950: '#000000',
  },
}
SCSS
$custom: #8a2ca0;
$custom-light: #b06ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2ca0",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 288.621,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.48457,
    "c": 0.18879,
    "h": 319.3
  },
  "luminance": 0.09743
}

Semantic roles & 50–950 ramp

primary
#8A2CA0
secondary
#79BF69
accent
#E04865
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A2CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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