#8A2194#8A2194

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

Color values

HEX#8A2194
RGBrgb(138, 33, 148)
HSLhsl(295, 64%, 35%)
HSVhsv(295, 78%, 58%)
CMYKcmyk(6.8%, 77.7%, 0%, 42%)
CIE-LABlab(35.26, 57.23, -40.02)
CIE-LCHlch(35.26, 69.84, 325.03°)
OKLaboklab(46.71% 0.1544 -0.1117)
OKLCHoklch(46.71% 0.191 324.1)
XYZxyz(16.3699, 8.6301, 28.8148)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2194 #2B9421
analogous
#512194 #8A2194 #942164
triadic
#8A2194 #948A21 #21948A
tetradic
#8A2194 #945121 #2B9421 #216494
square
#8A2194 #945121 #2B9421 #216494
split-complementary
#8A2194 #649421 #219451
monochromatic
#2D0B30 #5B1662 #8A2194 #B92CC6 #CE56D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2194#FFFFFF#000000##FFFFFF
##8A21941.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)
#004B97
Deuteranopia (green-blind)
#385791
Tritanopia (blue-blind)
#8D375A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2194;
/* rgb */ color: rgb(138, 33, 148);
/* oklch */ color: oklch(46.7% 0.191 324.1);
Tailwind
colors: {
  custom: {
    50: '#b069b4',
    500: '#8a2194',
    950: '#000000',
  },
}
SCSS
$custom: #8a2194;
$custom-light: #b069b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2194",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 294.783,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46708,
    "c": 0.19057,
    "h": 324.1
  },
  "luminance": 0.08629
}

Semantic roles & 50–950 ramp

primary
#8A2194
secondary
#5DBD54
accent
#E74150
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2194

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

Preview Lab → · Contrast checker → · Palette generator →

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