#8A2F85#8A2F85

#8A2F85 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.161 H 330.0°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8A2F85
RGBrgb(138, 47, 133)
HSLhsl(303, 49%, 36%)
HSVhsv(303, 66%, 54%)
CMYKcmyk(0%, 65.9%, 3.6%, 45.9%)
CIE-LABlab(36.24, 49.37, -29.26)
CIE-LCHlch(36.24, 57.39, 329.35°)
OKLaboklab(47.13% 0.1397 -0.0805)
OKLCHoklch(47.13% 0.161 330)
XYZxyz(15.7313, 9.1309, 23.1196)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F85 #2F8A34
analogous
#622F8A #8A2F85 #8A2F58
triadic
#8A2F85 #858A2F #2F858A
tetradic
#8A2F85 #8A622F #2F8A34 #2F588A
square
#8A2F85 #8A622F #2F8A34 #2F588A
split-complementary
#8A2F85 #588A2F #2F8A62
monochromatic
#2F102D #5C1F59 #8A2F85 #B83FB1 #CC68C6

Accessibility & contrast

On white

7.43
#8A2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8A2F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F85
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F85#FFFFFF#000000##FFFFFF
##8A2F851.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274D88
Deuteranopia (green-blind)
#485A83
Tritanopia (blue-blind)
#8F3956
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2f85;
/* rgb */ color: rgb(138, 47, 133);
/* oklch */ color: oklch(47.1% 0.161 330.0);
Tailwind
colors: {
  custom: {
    50: '#af6fa9',
    500: '#8a2f85',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f85;
$custom-light: #af6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f85",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 303.297,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47127,
    "c": 0.16125,
    "h": 330
  },
  "luminance": 0.0913
}

Semantic roles & 50–950 ramp

primary
#8A2F85
secondary
#62B367
accent
#D9574F
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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