#8A2E85#8A2E85

#8A2E85 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.0% C 0.163 H 330.1°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8A2E85
RGBrgb(138, 46, 133)
HSLhsl(303, 50%, 36%)
HSVhsv(303, 67%, 54%)
CMYKcmyk(0%, 66.7%, 3.6%, 45.9%)
CIE-LABlab(36.08, 49.79, -29.49)
CIE-LCHlch(36.08, 57.87, 329.36°)
OKLaboklab(47.02% 0.1409 -0.0812)
OKLCHoklch(47.02% 0.163 330.1)
XYZxyz(15.6918, 9.0519, 23.1065)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E85 #2E8A33
analogous
#612E8A #8A2E85 #8A2E57
triadic
#8A2E85 #858A2E #2E858A
tetradic
#8A2E85 #8A612E #2E8A33 #2E578A
square
#8A2E85 #8A612E #2E8A33 #2E578A
split-complementary
#8A2E85 #578A2E #2E8A61
monochromatic
#2E0F2D #5C1F59 #8A2E85 #B83DB1 #CC66C7

Accessibility & contrast

On white

7.47
#8A2E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8A2E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E85
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E85#FFFFFF#000000##FFFFFF
##8A2E851.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264D88
Deuteranopia (green-blind)
#475983
Tritanopia (blue-blind)
#8F3855
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2e85;
/* rgb */ color: rgb(138, 46, 133);
/* oklch */ color: oklch(47.0% 0.163 330.1);
Tailwind
colors: {
  custom: {
    50: '#af6ea9',
    500: '#8a2e85',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e85;
$custom-light: #af6ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e85",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 303.261,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47017,
    "c": 0.16264,
    "h": 330.1
  },
  "luminance": 0.09051
}

Semantic roles & 50–950 ramp

primary
#8A2E85
secondary
#61B365
accent
#DA564E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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