#8A30AF#8A30AF

#8A30AF is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.198 H 314.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8A30AF
RGBrgb(138, 48, 175)
HSLhsl(283, 57%, 44%)
HSVhsv(283, 73%, 69%)
CMYKcmyk(21.1%, 72.6%, 0%, 31.4%)
CIE-LABlab(38.92, 57.03, -50.41)
CIE-LCHlch(38.92, 76.12, 318.52°)
OKLaboklab(49.87% 0.1376 -0.1422)
OKLCHoklch(49.87% 0.198 314)
XYZxyz(19.2747, 10.6130, 41.5823)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A30AF #55AF30
analogous
#4A30AF #8A30AF #AF3094
triadic
#8A30AF #AF8A30 #30AF8A
tetradic
#8A30AF #AF4A30 #55AF30 #3094AF
square
#8A30AF #AF4A30 #55AF30 #3094AF
split-complementary
#8A30AF #94AF30 #30AF4A
monochromatic
#3E164F #64237F #8A30AF #A94ECE #C07EDC

Accessibility & contrast

On white

6.73
#8A30AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8A30AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A30AF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A30AF#FFFFFF#000000##FFFFFF
##8A30AF1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#285EAC
Tritanopia (blue-blind)
#864B6D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a30af;
/* rgb */ color: rgb(138, 48, 175);
/* oklch */ color: oklch(49.9% 0.198 314.0);
Tailwind
colors: {
  custom: {
    50: '#b071c8',
    500: '#8a30af',
    950: '#000000',
  },
}
SCSS
$custom: #8a30af;
$custom-light: #b071c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a30af",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 282.52,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4987,
    "c": 0.19785,
    "h": 314
  },
  "luminance": 0.10612
}

Semantic roles & 50–950 ramp

primary
#8A30AF
secondary
#8DC476
accent
#E04874
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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