#8A2483#8A2483

#8A2483 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.174 H 331.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8A2483
RGBrgb(138, 36, 131)
HSLhsl(304, 59%, 34%)
HSVhsv(304, 74%, 54%)
CMYKcmyk(0%, 73.9%, 5.1%, 45.9%)
CIE-LABlab(34.61, 53.30, -30.58)
CIE-LCHlch(34.61, 61.45, 330.16°)
OKLaboklab(45.92% 0.1519 -0.0842)
OKLCHoklch(45.92% 0.174 331)
XYZxyz(15.2088, 8.3049, 22.2703)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2483 #248A2B
analogous
#5E248A #8A2483 #8A2450
triadic
#8A2483 #838A24 #24838A
tetradic
#8A2483 #8A5E24 #248A2B #24508A
square
#8A2483 #8A5E24 #248A2B #24508A
split-complementary
#8A2483 #508A24 #248A5E
monochromatic
#290B27 #591755 #8A2483 #BB31B1 #D356CA

Accessibility & contrast

On white

7.89
#8A2483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8A2483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2483
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2483#FFFFFF#000000##FFFFFF
##8A24831.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4886
Deuteranopia (green-blind)
#435680
Tritanopia (blue-blind)
#903051
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2483;
/* rgb */ color: rgb(138, 36, 131);
/* oklch */ color: oklch(45.9% 0.174 331.0);
Tailwind
colors: {
  custom: {
    50: '#af6aa7',
    500: '#8a2483',
    950: '#000000',
  },
}
SCSS
$custom: #8a2483;
$custom-light: #af6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2483",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 131
  },
  "hsl": {
    "h": 304.118,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45919,
    "c": 0.17367,
    "h": 331
  },
  "luminance": 0.08304
}

Semantic roles & 50–950 ramp

primary
#8A2483
secondary
#53B75A
accent
#E25146
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2483

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

Preview Lab → · Contrast checker → · Palette generator →

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