#8A30AA#8A30AA

#8A30AA is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.193 H 315.6°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8A30AA
RGBrgb(138, 48, 170)
HSLhsl(284, 56%, 43%)
HSVhsv(284, 72%, 67%)
CMYKcmyk(18.8%, 71.8%, 0%, 33.3%)
CIE-LABlab(38.59, 56.00, -47.97)
CIE-LCHlch(38.59, 73.74, 319.41°)
OKLaboklab(49.53% 0.1381 -0.135)
OKLCHoklch(49.53% 0.193 315.6)
XYZxyz(18.7927, 10.4202, 39.0438)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A30AA #50AA30
analogous
#4D30AA #8A30AA #AA308D
triadic
#8A30AA #AA8A30 #30AA8A
tetradic
#8A30AA #AA4D30 #50AA30 #308DAA
square
#8A30AA #AA4D30 #50AA30 #308DAA
split-complementary
#8A30AA #8DAA30 #30AA4D
monochromatic
#3D154B #63237A #8A30AA #AA4BCC #C17BDA

Accessibility & contrast

On white

6.81
#8A30AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8A30AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A30AA
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A30AA#FFFFFF#000000##FFFFFF
##8A30AA1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#2E5DA7
Tritanopia (blue-blind)
#88496A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a30aa;
/* rgb */ color: rgb(138, 48, 170);
/* oklch */ color: oklch(49.5% 0.193 315.6);
Tailwind
colors: {
  custom: {
    50: '#b071c4',
    500: '#8a30aa',
    950: '#000000',
  },
}
SCSS
$custom: #8a30aa;
$custom-light: #b071c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a30aa",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 284.262,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49526,
    "c": 0.19317,
    "h": 315.6
  },
  "luminance": 0.10419
}

Semantic roles & 50–950 ramp

primary
#8A30AA
secondary
#88C274
accent
#DF4970
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A30AA

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

Preview Lab → · Contrast checker → · Palette generator →

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