#8A3099#8A3099

#8A3099 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.4% C 0.177 H 321.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8A3099
RGBrgb(138, 48, 153)
HSLhsl(291, 52%, 39%)
HSVhsv(291, 69%, 60%)
CMYKcmyk(9.8%, 68.6%, 0%, 40%)
CIE-LABlab(37.51, 52.63, -39.47)
CIE-LCHlch(37.51, 65.78, 323.13°)
OKLaboklab(48.42% 0.1392 -0.1102)
OKLCHoklch(48.42% 0.177 321.6)
XYZxyz(17.2873, 9.8180, 31.1153)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3099 #3F9930
analogous
#563099 #8A3099 #993073
triadic
#8A3099 #998A30 #30998A
tetradic
#8A3099 #995630 #3F9930 #307399
square
#8A3099 #995630 #3F9930 #307399
split-complementary
#8A3099 #739930 #309956
monochromatic
#36133C #60216A #8A3099 #B142C4 #C571D2

Accessibility & contrast

On white

7.09
#8A3099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8A3099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3099
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3099#FFFFFF#000000##FFFFFF
##8A30991.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E529C
Deuteranopia (green-blind)
#3D5C96
Tritanopia (blue-blind)
#8B4261
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3099;
/* rgb */ color: rgb(138, 48, 153);
/* oklch */ color: oklch(48.4% 0.177 321.6);
Tailwind
colors: {
  custom: {
    50: '#af70b7',
    500: '#8a3099',
    950: '#000000',
  },
}
SCSS
$custom: #8a3099;
$custom-light: #af70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3099",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 291.429,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48415,
    "c": 0.17748,
    "h": 321.6
  },
  "luminance": 0.09817
}

Semantic roles & 50–950 ramp

primary
#8A3099
secondary
#76BA6B
accent
#DC4C61
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3099

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

Preview Lab → · Contrast checker → · Palette generator →

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