#8A30AE#8A30AE

#8A30AE is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.197 H 314.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8A30AE
RGBrgb(138, 48, 174)
HSLhsl(283, 57%, 44%)
HSVhsv(283, 72%, 68%)
CMYKcmyk(20.7%, 72.4%, 0%, 31.8%)
CIE-LABlab(38.85, 56.82, -49.93)
CIE-LCHlch(38.85, 75.64, 318.70°)
OKLaboklab(49.8% 0.1377 -0.1408)
OKLCHoklch(49.8% 0.197 314.4)
XYZxyz(19.1769, 10.5738, 41.0670)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A30AE #54AE30
analogous
#4B30AE #8A30AE #AE3093
triadic
#8A30AE #AE8A30 #30AE8A
tetradic
#8A30AE #AE4B30 #54AE30 #3093AE
square
#8A30AE #AE4B30 #54AE30 #3093AE
split-complementary
#8A30AE #93AE30 #30AE4B
monochromatic
#3E164E #64237E #8A30AE #A94DCE #C07DDB

Accessibility & contrast

On white

6.74
#8A30AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8A30AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A30AE
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A30AE#FFFFFF#000000##FFFFFF
##8A30AE1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#295EAB
Tritanopia (blue-blind)
#874B6C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a30ae;
/* rgb */ color: rgb(138, 48, 174);
/* oklch */ color: oklch(49.8% 0.197 314.4);
Tailwind
colors: {
  custom: {
    50: '#b071c7',
    500: '#8a30ae',
    950: '#000000',
  },
}
SCSS
$custom: #8a30ae;
$custom-light: #b071c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a30ae",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 282.857,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49801,
    "c": 0.19691,
    "h": 314.4
  },
  "luminance": 0.10573
}

Semantic roles & 50–950 ramp

primary
#8A30AE
secondary
#8CC476
accent
#E04873
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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