#8A1983#8A1983

#8A1983 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.185 H 331.0°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#8A1983
RGBrgb(138, 25, 131)
HSLhsl(304, 69%, 32%)
HSVhsv(304, 82%, 54%)
CMYKcmyk(0%, 81.9%, 5.1%, 45.9%)
CIE-LABlab(33.43, 56.68, -32.44)
CIE-LCHlch(33.43, 65.31, 330.22°)
OKLaboklab(45.08% 0.1616 -0.0896)
OKLCHoklch(45.08% 0.185 331)
XYZxyz(14.9256, 7.7385, 22.1759)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1983 #198A20
analogous
#59198A #8A1983 #8A194B
triadic
#8A1983 #838A19 #19838A
tetradic
#8A1983 #8A5919 #198A20 #194B8A
square
#8A1983 #8A5919 #198A20 #194B8A
split-complementary
#8A1983 #4B8A19 #198A59
monochromatic
#220621 #561052 #8A1983 #BE22B4 #DD41D3

Accessibility & contrast

On white

8.24
#8A1983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8A1983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1983
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1983#FFFFFF#000000##FFFFFF
##8A19831.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084586
Deuteranopia (green-blind)
#3F5480
Tritanopia (blue-blind)
#90294E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a1983;
/* rgb */ color: rgb(138, 25, 131);
/* oklch */ color: oklch(45.1% 0.185 331.0);
Tailwind
colors: {
  custom: {
    50: '#b065a7',
    500: '#8a1983',
    950: '#000000',
  },
}
SCSS
$custom: #8a1983;
$custom-light: #b065a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1983",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 303.717,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45077,
    "c": 0.18479,
    "h": 331
  },
  "luminance": 0.07737
}

Semantic roles & 50–950 ramp

primary
#8A1983
secondary
#42BD49
accent
#EC473C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8A1983

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

Preview Lab → · Contrast checker → · Palette generator →

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