#8A2593#8A2593

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

Color values

HEX#8A2593
RGBrgb(138, 37, 147)
HSLhsl(295, 60%, 36%)
HSVhsv(295, 75%, 58%)
CMYKcmyk(6.1%, 74.8%, 0%, 42.4%)
CIE-LABlab(35.66, 55.72, -38.77)
CIE-LCHlch(35.66, 67.89, 325.17°)
OKLaboklab(46.97% 0.1508 -0.108)
OKLCHoklch(46.97% 0.186 324.4)
XYZxyz(16.4088, 8.8340, 28.4390)
Luminance0.0883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2593 #2E9325
analogous
#532593 #8A2593 #932565
triadic
#8A2593 #938A25 #25938A
tetradic
#8A2593 #935325 #2E9325 #256593
square
#8A2593 #935325 #2E9325 #256593
split-complementary
#8A2593 #659325 #259353
monochromatic
#2E0C31 #5C1962 #8A2593 #B831C4 #CC5CD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2593#FFFFFF#000000##FFFFFF
##8A25931.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)
#004C96
Deuteranopia (green-blind)
#3A5890
Tritanopia (blue-blind)
#8D395A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2593;
/* rgb */ color: rgb(138, 37, 147);
/* oklch */ color: oklch(47.0% 0.186 324.4);
Tailwind
colors: {
  custom: {
    50: '#b06bb3',
    500: '#8a2593',
    950: '#000000',
  },
}
SCSS
$custom: #8a2593;
$custom-light: #b06bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2593",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 147
  },
  "hsl": {
    "h": 295.091,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46973,
    "c": 0.18554,
    "h": 324.4
  },
  "luminance": 0.08833
}

Semantic roles & 50–950 ramp

primary
#8A2593
secondary
#61BB59
accent
#E34552
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2593

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

Preview Lab → · Contrast checker → · Palette generator →

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