#8A3085#8A3085

#8A3085 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.2% C 0.160 H 330.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8A3085
RGBrgb(138, 48, 133)
HSLhsl(303, 48%, 36%)
HSVhsv(303, 65%, 54%)
CMYKcmyk(0%, 65.2%, 3.6%, 45.9%)
CIE-LABlab(36.39, 48.94, -29.01)
CIE-LCHlch(36.39, 56.90, 329.34°)
OKLaboklab(47.24% 0.1385 -0.0798)
OKLCHoklch(47.24% 0.16 330)
XYZxyz(15.7717, 9.2118, 23.1331)
Luminance0.0921 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3085 #308A35
analogous
#62308A #8A3085 #8A3058
triadic
#8A3085 #858A30 #30858A
tetradic
#8A3085 #8A6230 #308A35 #30588A
square
#8A3085 #8A6230 #308A35 #30588A
split-complementary
#8A3085 #588A30 #308A62
monochromatic
#2F102D #5D2059 #8A3085 #B740B1 #CB69C6

Accessibility & contrast

On white

7.39
#8A3085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8A3085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3085
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3085#FFFFFF#000000##FFFFFF
##8A30851.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294E88
Deuteranopia (green-blind)
#485A83
Tritanopia (blue-blind)
#8F3A56
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a3085;
/* rgb */ color: rgb(138, 48, 133);
/* oklch */ color: oklch(47.2% 0.160 330.0);
Tailwind
colors: {
  custom: {
    50: '#af6fa9',
    500: '#8a3085',
    950: '#000000',
  },
}
SCSS
$custom: #8a3085;
$custom-light: #af6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3085",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 133
  },
  "hsl": {
    "h": 303.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47238,
    "c": 0.15984,
    "h": 330
  },
  "luminance": 0.09211
}

Semantic roles & 50–950 ramp

primary
#8A3085
secondary
#64B268
accent
#D85750
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A3085

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

Preview Lab → · Contrast checker → · Palette generator →

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