#8A2096#8A2096

#8A2096 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.8% C 0.193 H 323.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8A2096
RGBrgb(138, 32, 150)
HSLhsl(294, 65%, 36%)
HSVhsv(294, 79%, 59%)
CMYKcmyk(8%, 78.7%, 0%, 41.2%)
CIE-LABlab(35.28, 57.90, -41.21)
CIE-LCHlch(35.28, 71.07, 324.56°)
OKLaboklab(46.76% 0.1551 -0.1151)
OKLCHoklch(46.76% 0.193 323.4)
XYZxyz(16.5023, 8.6393, 29.6466)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2096 #2C9620
analogous
#4F2096 #8A2096 #962067
triadic
#8A2096 #968A20 #20968A
tetradic
#8A2096 #964F20 #2C9620 #206796
square
#8A2096 #964F20 #2C9620 #206796
split-complementary
#8A2096 #679620 #20964F
monochromatic
#2D0A31 #5C1564 #8A2096 #B82BC8 #CD56DB

Accessibility & contrast

On white

7.70
#8A2096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8A2096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2096
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2096#FFFFFF#000000##FFFFFF
##8A20961.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#365793
Tritanopia (blue-blind)
#8C375B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2096;
/* rgb */ color: rgb(138, 32, 150);
/* oklch */ color: oklch(46.8% 0.193 323.4);
Tailwind
colors: {
  custom: {
    50: '#b069b5',
    500: '#8a2096',
    950: '#000000',
  },
}
SCSS
$custom: #8a2096;
$custom-light: #b069b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2096",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 293.898,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46761,
    "c": 0.19318,
    "h": 323.4
  },
  "luminance": 0.08638
}

Semantic roles & 50–950 ramp

primary
#8A2096
secondary
#5EBE53
accent
#E84051
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2096

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

Preview Lab → · Contrast checker → · Palette generator →

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