#8A3985#8A3985

#8A3985 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.3% C 0.146 H 330.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8A3985
RGBrgb(138, 57, 133)
HSLhsl(304, 42%, 38%)
HSVhsv(304, 59%, 54%)
CMYKcmyk(0%, 58.7%, 3.6%, 45.9%)
CIE-LABlab(37.89, 44.83, -26.67)
CIE-LCHlch(37.89, 52.16, 329.25°)
OKLaboklab(48.33% 0.1267 -0.0732)
OKLCHoklch(48.33% 0.146 330)
XYZxyz(16.1779, 10.0241, 23.2685)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3985 #398A3E
analogous
#66398A #8A3985 #8A395C
triadic
#8A3985 #858A39 #39858A
tetradic
#8A3985 #8A6639 #398A3E #395C8A
square
#8A3985 #8A6639 #398A3E #395C8A
split-complementary
#8A3985 #5C8A39 #398A66
monochromatic
#331532 #5F275B #8A3985 #B54BAE #C777C2

Accessibility & contrast

On white

6.99
#8A3985 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#8A3985 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3985
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3985#FFFFFF#000000##FFFFFF
##8A39851.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335287
Deuteranopia (green-blind)
#4D5D83
Tritanopia (blue-blind)
#8F4159
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3985;
/* rgb */ color: rgb(138, 57, 133);
/* oklch */ color: oklch(48.3% 0.146 330.0);
Tailwind
colors: {
  custom: {
    50: '#ae74a9',
    500: '#8a3985',
    950: '#000000',
  },
}
SCSS
$custom: #8a3985;
$custom-light: #ae74a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3985",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 133
  },
  "hsl": {
    "h": 303.704,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4833,
    "c": 0.14631,
    "h": 330
  },
  "luminance": 0.10023
}

Semantic roles & 50–950 ramp

primary
#8A3985
secondary
#6FB073
accent
#D15E56
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A3985

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

Preview Lab → · Contrast checker → · Palette generator →

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