#8A30A3#8A30A3

#8A30A3 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.187 H 318.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8A30A3
RGBrgb(138, 48, 163)
HSLhsl(287, 55%, 41%)
HSVhsv(287, 71%, 64%)
CMYKcmyk(15.3%, 70.6%, 0%, 36.1%)
CIE-LABlab(38.13, 54.59, -44.51)
CIE-LCHlch(38.13, 70.44, 320.80°)
OKLaboklab(49.06% 0.1387 -0.1249)
OKLCHoklch(49.06% 0.187 318)
XYZxyz(18.1481, 10.1623, 35.6488)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A30A3 #49A330
analogous
#5130A3 #8A30A3 #A33083
triadic
#8A30A3 #A38A30 #30A38A
tetradic
#8A30A3 #A35130 #49A330 #3083A3
square
#8A30A3 #A35130 #49A330 #3083A3
split-complementary
#8A30A3 #83A330 #30A351
monochromatic
#3A1444 #622274 #8A30A3 #AD47C9 #C277D7

Accessibility & contrast

On white

6.93
#8A30A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8A30A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A30A3
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A30A3#FFFFFF#000000##FFFFFF
##8A30A31.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#355DA0
Tritanopia (blue-blind)
#894666
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a30a3;
/* rgb */ color: rgb(138, 48, 163);
/* oklch */ color: oklch(49.1% 0.187 318.0);
Tailwind
colors: {
  custom: {
    50: '#b070bf',
    500: '#8a30a3',
    950: '#000000',
  },
}
SCSS
$custom: #8a30a3;
$custom-light: #b070bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a30a3",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 163
  },
  "hsl": {
    "h": 286.957,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49057,
    "c": 0.18666,
    "h": 318
  },
  "luminance": 0.10162
}

Semantic roles & 50–950 ramp

primary
#8A30A3
secondary
#81BF70
accent
#DE4A6A
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A30A3

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

Preview Lab → · Contrast checker → · Palette generator →

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