#8A2D85#8A2D85

#8A2D85 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.9% C 0.164 H 330.1°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8A2D85
RGBrgb(138, 45, 133)
HSLhsl(303, 51%, 36%)
HSVhsv(303, 67%, 54%)
CMYKcmyk(0%, 67.4%, 3.6%, 45.9%)
CIE-LABlab(35.94, 50.21, -29.73)
CIE-LCHlch(35.94, 58.35, 329.37°)
OKLaboklab(46.91% 0.1421 -0.0819)
OKLCHoklch(46.91% 0.164 330.1)
XYZxyz(15.6532, 8.9746, 23.0936)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D85 #2D8A32
analogous
#602D8A #8A2D85 #8A2D56
triadic
#8A2D85 #858A2D #2D858A
tetradic
#8A2D85 #8A602D #2D8A32 #2D568A
square
#8A2D85 #8A602D #2D8A32 #2D568A
split-complementary
#8A2D85 #568A2D #2D8A60
monochromatic
#2E0F2C #5C1E59 #8A2D85 #B83CB1 #CD65C7

Accessibility & contrast

On white

7.51
#8A2D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8A2D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D85
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D85#FFFFFF#000000##FFFFFF
##8A2D851.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254C88
Deuteranopia (green-blind)
#475983
Tritanopia (blue-blind)
#8F3855
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2d85;
/* rgb */ color: rgb(138, 45, 133);
/* oklch */ color: oklch(46.9% 0.164 330.1);
Tailwind
colors: {
  custom: {
    50: '#af6ea9',
    500: '#8a2d85',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d85;
$custom-light: #af6ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d85",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 303.226,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4691,
    "c": 0.164,
    "h": 330.1
  },
  "luminance": 0.08974
}

Semantic roles & 50–950 ramp

primary
#8A2D85
secondary
#60B364
accent
#DA554D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A2D85

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

Preview Lab → · Contrast checker → · Palette generator →

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