#8A3088#8A3088

#8A3088 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.4% C 0.162 H 328.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8A3088
RGBrgb(138, 48, 136)
HSLhsl(301, 48%, 36%)
HSVhsv(301, 65%, 54%)
CMYKcmyk(0%, 65.2%, 1.4%, 45.9%)
CIE-LABlab(36.55, 49.47, -30.62)
CIE-LCHlch(36.55, 58.18, 328.25°)
OKLaboklab(47.41% 0.1387 -0.0844)
OKLCHoklch(47.41% 0.162 328.7)
XYZxyz(15.9819, 9.2958, 24.2403)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3088 #308A32
analogous
#5F308A #8A3088 #8A305B
triadic
#8A3088 #888A30 #30888A
tetradic
#8A3088 #8A5F30 #308A32 #305B8A
square
#8A3088 #8A5F30 #308A32 #305B8A
split-complementary
#8A3088 #5B8A30 #308A5F
monochromatic
#2F102F #5D205B #8A3088 #B740B5 #CB69C9

Accessibility & contrast

On white

7.35
#8A3088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8A3088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3088
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3088#FFFFFF#000000##FFFFFF
##8A30881.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264E8B
Deuteranopia (green-blind)
#475A86
Tritanopia (blue-blind)
#8F3B58
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a3088;
/* rgb */ color: rgb(138, 48, 136);
/* oklch */ color: oklch(47.4% 0.162 328.7);
Tailwind
colors: {
  custom: {
    50: '#af6fab',
    500: '#8a3088',
    950: '#000000',
  },
}
SCSS
$custom: #8a3088;
$custom-light: #af6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3088",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 136
  },
  "hsl": {
    "h": 301.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47405,
    "c": 0.1624,
    "h": 328.7
  },
  "luminance": 0.09295
}

Semantic roles & 50–950 ramp

primary
#8A3088
secondary
#64B265
accent
#D85350
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A3088

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

Preview Lab → · Contrast checker → · Palette generator →

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