#8A3383#8A3383

#8A3383 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.5% C 0.154 H 331.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8A3383
RGBrgb(138, 51, 131)
HSLhsl(305, 46%, 37%)
HSVhsv(305, 63%, 54%)
CMYKcmyk(0%, 63%, 5.1%, 45.9%)
CIE-LABlab(36.76, 47.27, -27.19)
CIE-LCHlch(36.76, 54.53, 330.09°)
OKLaboklab(47.48% 0.1345 -0.0746)
OKLCHoklch(47.48% 0.154 331)
XYZxyz(15.7617, 9.4107, 22.4546)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3383 #338A3A
analogous
#66338A #8A3383 #8A3357
triadic
#8A3383 #838A33 #33838A
tetradic
#8A3383 #8A6633 #338A3A #33578A
square
#8A3383 #8A6633 #338A3A #33578A
split-complementary
#8A3383 #578A33 #338A66
monochromatic
#31122E #5D2259 #8A3383 #B744AD #C96EC2

Accessibility & contrast

On white

7.29
#8A3383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8A3383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3383
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3383#FFFFFF#000000##FFFFFF
##8A33831.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4F85
Deuteranopia (green-blind)
#4B5B81
Tritanopia (blue-blind)
#8F3B56
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a3383;
/* rgb */ color: rgb(138, 51, 131);
/* oklch */ color: oklch(47.5% 0.154 331.0);
Tailwind
colors: {
  custom: {
    50: '#af71a7',
    500: '#8a3383',
    950: '#000000',
  },
}
SCSS
$custom: #8a3383;
$custom-light: #af71a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3383",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 131
  },
  "hsl": {
    "h": 304.828,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47477,
    "c": 0.15379,
    "h": 331
  },
  "luminance": 0.0941
}

Semantic roles & 50–950 ramp

primary
#8A3383
secondary
#67B16D
accent
#D65D52
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A3383

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

Preview Lab → · Contrast checker → · Palette generator →

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