#8A2295#8A2295

#8A2295 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.190 H 323.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8A2295
RGBrgb(138, 34, 149)
HSLhsl(294, 63%, 36%)
HSVhsv(294, 77%, 58%)
CMYKcmyk(7.4%, 77.2%, 0%, 41.6%)
CIE-LABlab(35.44, 57.09, -40.35)
CIE-LCHlch(35.44, 69.91, 324.74°)
OKLaboklab(46.85% 0.1535 -0.1126)
OKLCHoklch(46.85% 0.19 323.7)
XYZxyz(16.4776, 8.7183, 29.2428)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2295 #2D9522
analogous
#502295 #8A2295 #952266
triadic
#8A2295 #958A22 #22958A
tetradic
#8A2295 #955022 #2D9522 #226695
square
#8A2295 #955022 #2D9522 #226695
split-complementary
#8A2295 #669522 #229550
monochromatic
#2E0B31 #5C1763 #8A2295 #B82DC7 #CD58D9

Accessibility & contrast

On white

7.65
#8A2295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2295
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2295#FFFFFF#000000##FFFFFF
##8A22951.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2295;
/* rgb */ color: rgb(138, 34, 149);
/* oklch */ color: oklch(46.9% 0.190 323.7);
Tailwind
colors: {
  custom: {
    50: '#b06ab5',
    500: '#8a2295',
    950: '#000000',
  },
}
SCSS
$custom: #8a2295;
$custom-light: #b06ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2295",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 294.261,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46851,
    "c": 0.19038,
    "h": 323.7
  },
  "luminance": 0.08717
}

Semantic roles & 50–950 ramp

primary
#8A2295
secondary
#60BD56
accent
#E64252
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2295

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

Preview Lab → · Contrast checker → · Palette generator →

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