#8A2397#8A2397

#8A2397 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.191 H 322.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8A2397
RGBrgb(138, 35, 151)
HSLhsl(293, 62%, 36%)
HSVhsv(293, 77%, 59%)
CMYKcmyk(8.6%, 76.8%, 0%, 40.8%)
CIE-LABlab(35.68, 57.12, -41.19)
CIE-LCHlch(35.68, 70.43, 324.21°)
OKLaboklab(47.06% 0.1524 -0.1151)
OKLCHoklch(47.06% 0.191 322.9)
XYZxyz(16.6676, 8.8407, 30.1007)
Luminance0.0884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2397 #309723
analogous
#502397 #8A2397 #97236A
triadic
#8A2397 #978A23 #23978A
tetradic
#8A2397 #975023 #309723 #236A97
square
#8A2397 #975023 #309723 #236A97
split-complementary
#8A2397 #6A9723 #239750
monochromatic
#2F0C34 #5D1765 #8A2397 #B72FC9 #CB5BD9

Accessibility & contrast

On white

7.59
#8A2397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8A2397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2397
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2397#FFFFFF#000000##FFFFFF
##8A23971.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#365894
Tritanopia (blue-blind)
#8C395C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2397;
/* rgb */ color: rgb(138, 35, 151);
/* oklch */ color: oklch(47.1% 0.191 322.9);
Tailwind
colors: {
  custom: {
    50: '#b06ab6',
    500: '#8a2397',
    950: '#000000',
  },
}
SCSS
$custom: #8a2397;
$custom-light: #b06ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2397",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 293.276,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47062,
    "c": 0.19101,
    "h": 322.9
  },
  "luminance": 0.0884
}

Semantic roles & 50–950 ramp

primary
#8A2397
secondary
#64BE58
accent
#E54255
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2397

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

Preview Lab → · Contrast checker → · Palette generator →

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