#8A2794#8A2794

#8A2794 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.2% C 0.184 H 323.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8A2794
RGBrgb(138, 39, 148)
HSLhsl(294, 58%, 37%)
HSVhsv(294, 74%, 58%)
CMYKcmyk(6.8%, 73.6%, 0%, 42%)
CIE-LABlab(35.97, 55.20, -38.89)
CIE-LCHlch(35.97, 67.52, 324.83°)
OKLaboklab(47.21% 0.1488 -0.1084)
OKLCHoklch(47.21% 0.184 323.9)
XYZxyz(16.5516, 8.9934, 28.8753)
Luminance0.0899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2794 #319427
analogous
#532794 #8A2794 #942768
triadic
#8A2794 #948A27 #27948A
tetradic
#8A2794 #945327 #319427 #276894
square
#8A2794 #945327 #319427 #276894
split-complementary
#8A2794 #689427 #279453
monochromatic
#300D33 #5D1A64 #8A2794 #B734C4 #CA60D5

Accessibility & contrast

On white

7.50
#8A2794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8A2794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2794
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2794#FFFFFF#000000##FFFFFF
##8A27941.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#3B5991
Tritanopia (blue-blind)
#8D3A5B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2794;
/* rgb */ color: rgb(138, 39, 148);
/* oklch */ color: oklch(47.2% 0.184 323.9);
Tailwind
colors: {
  custom: {
    50: '#b06cb4',
    500: '#8a2794',
    950: '#000000',
  },
}
SCSS
$custom: #8a2794;
$custom-light: #b06cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2794",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 294.495,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47213,
    "c": 0.18413,
    "h": 323.9
  },
  "luminance": 0.08992
}

Semantic roles & 50–950 ramp

primary
#8A2794
secondary
#65BB5C
accent
#E24655
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2794

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

Preview Lab → · Contrast checker → · Palette generator →

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