#8A2083#8A2083

#8A2083 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.178 H 331.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8A2083
RGBrgb(138, 32, 131)
HSLhsl(304, 62%, 33%)
HSVhsv(304, 77%, 54%)
CMYKcmyk(0%, 76.8%, 5.1%, 45.9%)
CIE-LABlab(34.14, 54.64, -31.32)
CIE-LCHlch(34.14, 62.98, 330.18°)
OKLaboklab(45.58% 0.1557 -0.0863)
OKLCHoklch(45.58% 0.178 331)
XYZxyz(15.0945, 8.0762, 22.2322)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2083 #208A27
analogous
#5C208A #8A2083 #8A204E
triadic
#8A2083 #838A20 #20838A
tetradic
#8A2083 #8A5C20 #208A27 #204E8A
square
#8A2083 #8A5C20 #208A27 #204E8A
split-complementary
#8A2083 #4E8A20 #208A5C
monochromatic
#270925 #581454 #8A2083 #BC2CB2 #D64ECD

Accessibility & contrast

On white

8.03
#8A2083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8A2083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2083
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2083#FFFFFF#000000##FFFFFF
##8A20831.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154786
Deuteranopia (green-blind)
#425580
Tritanopia (blue-blind)
#902E50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2083;
/* rgb */ color: rgb(138, 32, 131);
/* oklch */ color: oklch(45.6% 0.178 331.0);
Tailwind
colors: {
  custom: {
    50: '#b068a7',
    500: '#8a2083',
    950: '#000000',
  },
}
SCSS
$custom: #8a2083;
$custom-light: #b068a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2083",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 303.962,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45583,
    "c": 0.17808,
    "h": 331
  },
  "luminance": 0.08075
}

Semantic roles & 50–950 ramp

primary
#8A2083
secondary
#4DB954
accent
#E54D42
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2083

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

Preview Lab → · Contrast checker → · Palette generator →

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