#8A2095#8A2095

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

Color values

HEX#8A2095
RGBrgb(138, 32, 149)
HSLhsl(294, 65%, 35%)
HSVhsv(294, 79%, 58%)
CMYKcmyk(7.4%, 78.5%, 0%, 41.6%)
CIE-LABlab(35.22, 57.72, -40.71)
CIE-LCHlch(35.22, 70.63, 324.81°)
OKLaboklab(46.7% 0.1552 -0.1137)
OKLCHoklch(46.7% 0.192 323.8)
XYZxyz(16.4221, 8.6073, 29.2243)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2095 #2B9520
analogous
#4F2095 #8A2095 #952065
triadic
#8A2095 #958A20 #20958A
tetradic
#8A2095 #954F20 #2B9520 #206595
square
#8A2095 #954F20 #2B9520 #206595
split-complementary
#8A2095 #659520 #20954F
monochromatic
#2D0A30 #5B1563 #8A2095 #B92BC7 #CE55DA

Accessibility & contrast

On white

7.72
#8A2095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8A2095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2095
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2095#FFFFFF#000000##FFFFFF
##8A20951.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2095;
/* rgb */ color: rgb(138, 32, 149);
/* oklch */ color: oklch(46.7% 0.192 323.8);
Tailwind
colors: {
  custom: {
    50: '#b069b5',
    500: '#8a2095',
    950: '#000000',
  },
}
SCSS
$custom: #8a2095;
$custom-light: #b069b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2095",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 294.359,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46696,
    "c": 0.19236,
    "h": 323.8
  },
  "luminance": 0.08606
}

Semantic roles & 50–950 ramp

primary
#8A2095
secondary
#5DBE53
accent
#E84050
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2095

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

Preview Lab → · Contrast checker → · Palette generator →

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