#8A2196#8A2196

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

Color values

HEX#8A2196
RGBrgb(138, 33, 150)
HSLhsl(294, 64%, 36%)
HSVhsv(294, 78%, 59%)
CMYKcmyk(8%, 78%, 0%, 41.2%)
CIE-LABlab(35.39, 57.59, -41.04)
CIE-LCHlch(35.39, 70.72, 324.52°)
OKLaboklab(46.84% 0.1543 -0.1146)
OKLCHoklch(46.84% 0.192 323.4)
XYZxyz(16.5296, 8.6940, 29.6557)
Luminance0.0869 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2196 #2D9621
analogous
#4F2196 #8A2196 #962167
triadic
#8A2196 #968A21 #21968A
tetradic
#8A2196 #964F21 #2D9621 #216796
square
#8A2196 #964F21 #2D9621 #216796
split-complementary
#8A2196 #679621 #21964F
monochromatic
#2E0B32 #5C1664 #8A2196 #B82CC8 #CD57DA

Accessibility & contrast

On white

7.67
#8A2196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8A2196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2196
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2196#FFFFFF#000000##FFFFFF
##8A21961.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2196;
/* rgb */ color: rgb(138, 33, 150);
/* oklch */ color: oklch(46.8% 0.192 323.4);
Tailwind
colors: {
  custom: {
    50: '#b069b5',
    500: '#8a2196',
    950: '#000000',
  },
}
SCSS
$custom: #8a2196;
$custom-light: #b069b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2196",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 293.846,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46837,
    "c": 0.1922,
    "h": 323.4
  },
  "luminance": 0.08693
}

Semantic roles & 50–950 ramp

primary
#8A2196
secondary
#60BE55
accent
#E74152
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2196

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

Preview Lab → · Contrast checker → · Palette generator →

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