#8A2085#8A2085

#8A2085 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.180 H 330.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8A2085
RGBrgb(138, 32, 133)
HSLhsl(303, 62%, 33%)
HSVhsv(303, 77%, 54%)
CMYKcmyk(0%, 76.8%, 3.6%, 45.9%)
CIE-LABlab(34.25, 54.97, -32.39)
CIE-LCHlch(34.25, 63.80, 329.50°)
OKLaboklab(45.7% 0.1558 -0.0894)
OKLCHoklch(45.7% 0.18 330.1)
XYZxyz(15.2313, 8.1309, 22.9530)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2085 #208A25
analogous
#5A208A #8A2085 #8A2050
triadic
#8A2085 #858A20 #20858A
tetradic
#8A2085 #8A5A20 #208A25 #20508A
square
#8A2085 #8A5A20 #208A25 #20508A
split-complementary
#8A2085 #508A20 #208A5A
monochromatic
#270925 #581455 #8A2085 #BC2CB5 #D64ED0

Accessibility & contrast

On white

8.00
#8A2085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8A2085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2085
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2085#FFFFFF#000000##FFFFFF
##8A20851.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124788
Deuteranopia (green-blind)
#415682
Tritanopia (blue-blind)
#8F2F51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2085;
/* rgb */ color: rgb(138, 32, 133);
/* oklch */ color: oklch(45.7% 0.180 330.1);
Tailwind
colors: {
  custom: {
    50: '#b068a9',
    500: '#8a2085',
    950: '#000000',
  },
}
SCSS
$custom: #8a2085;
$custom-light: #b068a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2085",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 302.83,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.457,
    "c": 0.17962,
    "h": 330.1
  },
  "luminance": 0.0813
}

Semantic roles & 50–950 ramp

primary
#8A2085
secondary
#4DB952
accent
#E54A42
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2085

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

Preview Lab → · Contrast checker → · Palette generator →

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