#8A307D#8A307D

#8A307D is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.8% C 0.153 H 333.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8A307D
RGBrgb(138, 48, 125)
HSLhsl(309, 48%, 36%)
HSVhsv(309, 65%, 54%)
CMYKcmyk(0%, 65.2%, 9.4%, 45.9%)
CIE-LABlab(35.98, 47.57, -24.69)
CIE-LCHlch(35.98, 53.60, 332.57°)
OKLaboklab(46.81% 0.1376 -0.0674)
OKLCHoklch(46.81% 0.153 333.9)
XYZxyz(15.2399, 8.9990, 20.3324)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A307D #308A3D
analogous
#6A308A #8A307D #8A3050
triadic
#8A307D #7D8A30 #307D8A
tetradic
#8A307D #8A6A30 #308A3D #30508A
square
#8A307D #8A6A30 #308A3D #30508A
split-complementary
#8A307D #508A30 #308A6A
monochromatic
#2F102B #5D2054 #8A307D #B740A6 #CB69BD

Accessibility & contrast

On white

7.50
#8A307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8A307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A307D
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A307D#FFFFFF#000000##FFFFFF
##8A307D1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7F
Deuteranopia (green-blind)
#4C597B
Tritanopia (blue-blind)
#903752
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a307d;
/* rgb */ color: rgb(138, 48, 125);
/* oklch */ color: oklch(46.8% 0.153 333.9);
Tailwind
colors: {
  custom: {
    50: '#af6fa3',
    500: '#8a307d',
    950: '#000000',
  },
}
SCSS
$custom: #8a307d;
$custom-light: #af6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a307d",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 308.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46811,
    "c": 0.15321,
    "h": 333.9
  },
  "luminance": 0.08998
}

Semantic roles & 50–950 ramp

primary
#8A307D
secondary
#64B26F
accent
#D86450
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A307D

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

Preview Lab → · Contrast checker → · Palette generator →

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