#8A2195#8A2195

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

Color values

HEX#8A2195
RGBrgb(138, 33, 149)
HSLhsl(294, 64%, 36%)
HSVhsv(294, 78%, 58%)
CMYKcmyk(7.4%, 77.9%, 0%, 41.6%)
CIE-LABlab(35.33, 57.41, -40.53)
CIE-LCHlch(35.33, 70.28, 324.78°)
OKLaboklab(46.77% 0.1543 -0.1132)
OKLCHoklch(46.77% 0.191 323.8)
XYZxyz(16.4494, 8.6619, 29.2334)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2195 #2C9521
analogous
#502195 #8A2195 #952166
triadic
#8A2195 #958A21 #21958A
tetradic
#8A2195 #955021 #2C9521 #216695
square
#8A2195 #955021 #2C9521 #216695
split-complementary
#8A2195 #669521 #219550
monochromatic
#2D0B31 #5C1663 #8A2195 #B82CC7 #CD57DA

Accessibility & contrast

On white

7.69
#8A2195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2195
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2195#FFFFFF#000000##FFFFFF
##8A21951.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#375792
Tritanopia (blue-blind)
#8C375A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2195;
/* rgb */ color: rgb(138, 33, 149);
/* oklch */ color: oklch(46.8% 0.191 323.8);
Tailwind
colors: {
  custom: {
    50: '#b069b5',
    500: '#8a2195',
    950: '#000000',
  },
}
SCSS
$custom: #8a2195;
$custom-light: #b069b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2195",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 294.31,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46772,
    "c": 0.19138,
    "h": 323.8
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#8A2195
secondary
#5EBE54
accent
#E74151
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2195

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

Preview Lab → · Contrast checker → · Palette generator →

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