#8A2E83#8A2E83

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

Color values

HEX#8A2E83
RGBrgb(138, 46, 131)
HSLhsl(305, 50%, 36%)
HSVhsv(305, 67%, 54%)
CMYKcmyk(0%, 66.7%, 5.1%, 45.9%)
CIE-LABlab(35.98, 49.45, -28.42)
CIE-LCHlch(35.98, 57.03, 330.11°)
OKLaboklab(46.91% 0.1407 -0.0781)
OKLCHoklch(46.91% 0.161 331)
XYZxyz(15.5549, 8.9971, 22.3857)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E83 #2E8A35
analogous
#632E8A #8A2E83 #8A2E55
triadic
#8A2E83 #838A2E #2E838A
tetradic
#8A2E83 #8A632E #2E8A35 #2E558A
square
#8A2E83 #8A632E #2E8A35 #2E558A
split-complementary
#8A2E83 #558A2E #2E8A63
monochromatic
#2E0F2C #5C1F57 #8A2E83 #B83DAF #CC66C4

Accessibility & contrast

On white

7.50
#8A2E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8A2E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E83
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E83#FFFFFF#000000##FFFFFF
##8A2E831.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C85
Deuteranopia (green-blind)
#485981
Tritanopia (blue-blind)
#8F3854
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2e83;
/* rgb */ color: rgb(138, 46, 131);
/* oklch */ color: oklch(46.9% 0.161 331.0);
Tailwind
colors: {
  custom: {
    50: '#af6ea7',
    500: '#8a2e83',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e83;
$custom-light: #af6ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e83",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 304.565,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46907,
    "c": 0.16097,
    "h": 331
  },
  "luminance": 0.08996
}

Semantic roles & 50–950 ramp

primary
#8A2E83
secondary
#61B367
accent
#DA594E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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