#8A3385#8A3385

#8A3385 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.6% C 0.155 H 330.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8A3385
RGBrgb(138, 51, 133)
HSLhsl(303, 46%, 37%)
HSVhsv(303, 63%, 54%)
CMYKcmyk(0%, 63%, 3.6%, 45.9%)
CIE-LABlab(36.87, 47.62, -28.27)
CIE-LCHlch(36.87, 55.38, 329.31°)
OKLaboklab(47.59% 0.1347 -0.0777)
OKLCHoklch(47.59% 0.156 330)
XYZxyz(15.8986, 9.4655, 23.1754)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3385 #338A38
analogous
#64338A #8A3385 #8A335A
triadic
#8A3385 #858A33 #33858A
tetradic
#8A3385 #8A6433 #338A38 #335A8A
square
#8A3385 #8A6433 #338A38 #335A8A
split-complementary
#8A3385 #5A8A33 #338A64
monochromatic
#31122F #5D225A #8A3385 #B744B0 #C96EC4

Accessibility & contrast

On white

7.26
#8A3385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8A3385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3385
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3385#FFFFFF#000000##FFFFFF
##8A33851.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4F87
Deuteranopia (green-blind)
#4A5B83
Tritanopia (blue-blind)
#8F3C57
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3385;
/* rgb */ color: rgb(138, 51, 133);
/* oklch */ color: oklch(47.6% 0.155 330.0);
Tailwind
colors: {
  custom: {
    50: '#af71a9',
    500: '#8a3385',
    950: '#000000',
  },
}
SCSS
$custom: #8a3385;
$custom-light: #af71a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3385",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 133
  },
  "hsl": {
    "h": 303.448,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47585,
    "c": 0.1555,
    "h": 330
  },
  "luminance": 0.09464
}

Semantic roles & 50–950 ramp

primary
#8A3385
secondary
#67B16C
accent
#D65A52
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A3385

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

Preview Lab → · Contrast checker → · Palette generator →

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