#8A2594#8A2594

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

Color values

HEX#8A2594
RGBrgb(138, 37, 148)
HSLhsl(295, 60%, 36%)
HSVhsv(295, 75%, 58%)
CMYKcmyk(6.8%, 75%, 0%, 42%)
CIE-LABlab(35.72, 55.90, -39.28)
CIE-LCHlch(35.72, 68.33, 324.90°)
OKLaboklab(47.04% 0.1508 -0.1095)
OKLCHoklch(47.04% 0.186 324)
XYZxyz(16.4876, 8.8656, 28.8540)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2594 #2F9425
analogous
#532594 #8A2594 #942567
triadic
#8A2594 #948A25 #25948A
tetradic
#8A2594 #945325 #2F9425 #256794
square
#8A2594 #945325 #2F9425 #256794
split-complementary
#8A2594 #679425 #259453
monochromatic
#2F0D32 #5C1963 #8A2594 #B831C5 #CC5DD6

Accessibility & contrast

On white

7.57
#8A2594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2594
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2594#FFFFFF#000000##FFFFFF
##8A25941.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#3A5891
Tritanopia (blue-blind)
#8D395B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2594;
/* rgb */ color: rgb(138, 37, 148);
/* oklch */ color: oklch(47.0% 0.186 324.0);
Tailwind
colors: {
  custom: {
    50: '#b06bb4',
    500: '#8a2594',
    950: '#000000',
  },
}
SCSS
$custom: #8a2594;
$custom-light: #b06bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2594",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 148
  },
  "hsl": {
    "h": 294.595,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47036,
    "c": 0.18637,
    "h": 324
  },
  "luminance": 0.08865
}

Semantic roles & 50–950 ramp

primary
#8A2594
secondary
#62BB59
accent
#E34553
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2594

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

Preview Lab → · Contrast checker → · Palette generator →

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