#8A3098#8A3098

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

Color values

HEX#8A3098
RGBrgb(138, 48, 152)
HSLhsl(292, 52%, 39%)
HSVhsv(292, 68%, 60%)
CMYKcmyk(9.2%, 68.4%, 0%, 40.4%)
CIE-LABlab(37.45, 52.44, -38.96)
CIE-LCHlch(37.45, 65.33, 323.39°)
OKLaboklab(48.35% 0.1392 -0.1087)
OKLCHoklch(48.35% 0.177 322)
XYZxyz(17.2051, 9.7851, 30.6821)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3098 #3E9830
analogous
#563098 #8A3098 #983072
triadic
#8A3098 #988A30 #30988A
tetradic
#8A3098 #985630 #3E9830 #307298
square
#8A3098 #985630 #3E9830 #307298
split-complementary
#8A3098 #729830 #309856
monochromatic
#36133B #602169 #8A3098 #B242C3 #C570D2

Accessibility & contrast

On white

7.10
#8A3098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A3098
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3098#FFFFFF#000000##FFFFFF
##8A30981.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11529B
Deuteranopia (green-blind)
#3D5C95
Tritanopia (blue-blind)
#8C4260
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3098;
/* rgb */ color: rgb(138, 48, 152);
/* oklch */ color: oklch(48.4% 0.177 322.0);
Tailwind
colors: {
  custom: {
    50: '#af70b7',
    500: '#8a3098',
    950: '#000000',
  },
}
SCSS
$custom: #8a3098;
$custom-light: #af70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3098",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 152
  },
  "hsl": {
    "h": 291.923,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48352,
    "c": 0.17657,
    "h": 322
  },
  "luminance": 0.09784
}

Semantic roles & 50–950 ramp

primary
#8A3098
secondary
#75BA6A
accent
#DB4C60
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3098

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

Preview Lab → · Contrast checker → · Palette generator →

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