#8A2D83#8A2D83

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

Color values

HEX#8A2D83
RGBrgb(138, 45, 131)
HSLhsl(305, 51%, 36%)
HSVhsv(305, 67%, 54%)
CMYKcmyk(0%, 67.4%, 5.1%, 45.9%)
CIE-LABlab(35.83, 49.86, -28.66)
CIE-LCHlch(35.83, 57.51, 330.11°)
OKLaboklab(46.8% 0.142 -0.0788)
OKLCHoklch(46.8% 0.162 331)
XYZxyz(15.5163, 8.9199, 22.3728)
Luminance0.0892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D83 #2D8A34
analogous
#622D8A #8A2D83 #8A2D54
triadic
#8A2D83 #838A2D #2D838A
tetradic
#8A2D83 #8A622D #2D8A34 #2D548A
square
#8A2D83 #8A622D #2D8A34 #2D548A
split-complementary
#8A2D83 #548A2D #2D8A62
monochromatic
#2E0F2B #5C1E57 #8A2D83 #B83CAF #CD65C5

Accessibility & contrast

On white

7.54
#8A2D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2D83
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D83#FFFFFF#000000##FFFFFF
##8A2D831.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264C86
Deuteranopia (green-blind)
#485981
Tritanopia (blue-blind)
#8F3754
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2d83;
/* rgb */ color: rgb(138, 45, 131);
/* oklch */ color: oklch(46.8% 0.162 331.0);
Tailwind
colors: {
  custom: {
    50: '#af6ea7',
    500: '#8a2d83',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d83;
$custom-light: #af6ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d83",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 304.516,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46799,
    "c": 0.16234,
    "h": 331
  },
  "luminance": 0.08919
}

Semantic roles & 50–950 ramp

primary
#8A2D83
secondary
#60B366
accent
#DA584D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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