#8A30AC#8A30AC

#8A30AC is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.195 H 315.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8A30AC
RGBrgb(138, 48, 172)
HSLhsl(284, 56%, 43%)
HSVhsv(284, 72%, 67%)
CMYKcmyk(19.8%, 72.1%, 0%, 32.5%)
CIE-LABlab(38.72, 56.41, -48.95)
CIE-LCHlch(38.72, 74.69, 319.05°)
OKLaboklab(49.66% 0.1379 -0.1379)
OKLCHoklch(49.66% 0.195 315)
XYZxyz(18.9834, 10.4964, 40.0478)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A30AC #52AC30
analogous
#4C30AC #8A30AC #AC3090
triadic
#8A30AC #AC8A30 #30AC8A
tetradic
#8A30AC #AC4C30 #52AC30 #3090AC
square
#8A30AC #AC4C30 #52AC30 #3090AC
split-complementary
#8A30AC #90AC30 #30AC4C
monochromatic
#3D154C #64237C #8A30AC #AA4CCD #C17CDA

Accessibility & contrast

On white

6.78
#8A30AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8A30AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A30AC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A30AC#FFFFFF#000000##FFFFFF
##8A30AC1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#2C5DA9
Tritanopia (blue-blind)
#874A6B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a30ac;
/* rgb */ color: rgb(138, 48, 172);
/* oklch */ color: oklch(49.7% 0.195 315.0);
Tailwind
colors: {
  custom: {
    50: '#b071c5',
    500: '#8a30ac',
    950: '#000000',
  },
}
SCSS
$custom: #8a30ac;
$custom-light: #b071c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a30ac",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 283.548,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49663,
    "c": 0.19504,
    "h": 315
  },
  "luminance": 0.10496
}

Semantic roles & 50–950 ramp

primary
#8A30AC
secondary
#8AC375
accent
#E04872
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A30AC

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

Preview Lab → · Contrast checker → · Palette generator →

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