#8A2B83#8A2B83

#8A2B83 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.6% C 0.165 H 331.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8A2B83
RGBrgb(138, 43, 131)
HSLhsl(304, 52%, 35%)
HSVhsv(304, 69%, 54%)
CMYKcmyk(0%, 68.8%, 5.1%, 45.9%)
CIE-LABlab(35.54, 50.68, -29.11)
CIE-LCHlch(35.54, 58.44, 330.12°)
OKLaboklab(46.59% 0.1443 -0.0801)
OKLCHoklch(46.59% 0.165 331)
XYZxyz(15.4418, 8.7709, 22.3480)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B83 #2B8A32
analogous
#612B8A #8A2B83 #8A2B53
triadic
#8A2B83 #838A2B #2B838A
tetradic
#8A2B83 #8A612B #2B8A32 #2B538A
square
#8A2B83 #8A612B #2B8A32 #2B538A
split-complementary
#8A2B83 #538A2B #2B8A61
monochromatic
#2D0E2A #5B1C57 #8A2B83 #B93AAF #CE61C6

Accessibility & contrast

On white

7.63
#8A2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8A2B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B83
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B83#FFFFFF#000000##FFFFFF
##8A2B831.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B86
Deuteranopia (green-blind)
#475881
Tritanopia (blue-blind)
#8F3553
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2b83;
/* rgb */ color: rgb(138, 43, 131);
/* oklch */ color: oklch(46.6% 0.165 331.0);
Tailwind
colors: {
  custom: {
    50: '#af6da7',
    500: '#8a2b83',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b83;
$custom-light: #af6da7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b83",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 304.421,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46589,
    "c": 0.16501,
    "h": 331
  },
  "luminance": 0.0877
}

Semantic roles & 50–950 ramp

primary
#8A2B83
secondary
#5DB463
accent
#DC574C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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