#8A2393#8A2393

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

Color values

HEX#8A2393
RGBrgb(138, 35, 147)
HSLhsl(295, 62%, 36%)
HSVhsv(295, 76%, 58%)
CMYKcmyk(6.1%, 76.2%, 0%, 42.4%)
CIE-LABlab(35.43, 56.40, -39.15)
CIE-LCHlch(35.43, 68.66, 325.24°)
OKLaboklab(46.8% 0.1527 -0.1091)
OKLCHoklch(46.8% 0.188 324.4)
XYZxyz(16.3483, 8.7130, 28.4188)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2393 #2C9323
analogous
#522393 #8A2393 #932364
triadic
#8A2393 #938A23 #23938A
tetradic
#8A2393 #935223 #2C9323 #236493
square
#8A2393 #935223 #2C9323 #236493
split-complementary
#8A2393 #649323 #239352
monochromatic
#2D0B30 #5C1762 #8A2393 #B82FC4 #CD59D7

Accessibility & contrast

On white

7.66
#8A2393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2393
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2393#FFFFFF#000000##FFFFFF
##8A23931.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#395790
Tritanopia (blue-blind)
#8D375A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2393;
/* rgb */ color: rgb(138, 35, 147);
/* oklch */ color: oklch(46.8% 0.188 324.4);
Tailwind
colors: {
  custom: {
    50: '#b06ab3',
    500: '#8a2393',
    950: '#000000',
  },
}
SCSS
$custom: #8a2393;
$custom-light: #b06ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2393",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 295.179,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46804,
    "c": 0.18769,
    "h": 324.4
  },
  "luminance": 0.08712
}

Semantic roles & 50–950 ramp

primary
#8A2393
secondary
#5EBC56
accent
#E54350
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2393

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

Preview Lab → · Contrast checker → · Palette generator →

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