#8A2C85#8A2C85

#8A2C85 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.8% C 0.165 H 330.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8A2C85
RGBrgb(138, 44, 133)
HSLhsl(303, 52%, 36%)
HSVhsv(303, 68%, 54%)
CMYKcmyk(0%, 68.1%, 3.6%, 45.9%)
CIE-LABlab(35.79, 50.62, -29.96)
CIE-LCHlch(35.79, 58.82, 329.38°)
OKLaboklab(46.8% 0.1433 -0.0825)
OKLCHoklch(46.8% 0.165 330.1)
XYZxyz(15.6155, 8.8992, 23.0810)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C85 #2C8A31
analogous
#602C8A #8A2C85 #8A2C56
triadic
#8A2C85 #858A2C #2C858A
tetradic
#8A2C85 #8A602C #2C8A31 #2C568A
square
#8A2C85 #8A602C #2C8A31 #2C568A
split-complementary
#8A2C85 #568A2C #2C8A60
monochromatic
#2D0E2C #5C1D58 #8A2C85 #B83BB2 #CD63C8

Accessibility & contrast

On white

7.56
#8A2C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8A2C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C85
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C85#FFFFFF#000000##FFFFFF
##8A2C851.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234C88
Deuteranopia (green-blind)
#465983
Tritanopia (blue-blind)
#8F3755
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2c85;
/* rgb */ color: rgb(138, 44, 133);
/* oklch */ color: oklch(46.8% 0.165 330.1);
Tailwind
colors: {
  custom: {
    50: '#af6da9',
    500: '#8a2c85',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c85;
$custom-light: #af6da9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c85",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 303.191,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46804,
    "c": 0.16534,
    "h": 330.1
  },
  "luminance": 0.08898
}

Semantic roles & 50–950 ramp

primary
#8A2C85
secondary
#5EB463
accent
#DB544D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A2C85

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

Preview Lab → · Contrast checker → · Palette generator →

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