#8A2C94#8A2C94

#8A2C94 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.178 H 323.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8A2C94
RGBrgb(138, 44, 148)
HSLhsl(294, 54%, 38%)
HSVhsv(294, 70%, 58%)
CMYKcmyk(6.8%, 70.3%, 0%, 42%)
CIE-LABlab(36.64, 53.31, -37.83)
CIE-LCHlch(36.64, 65.37, 324.64°)
OKLaboklab(47.69% 0.1437 -0.1053)
OKLCHoklch(47.69% 0.178 323.7)
XYZxyz(16.7267, 9.3437, 28.9337)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C94 #36942C
analogous
#562C94 #8A2C94 #942C6A
triadic
#8A2C94 #948A2C #2C948A
tetradic
#8A2C94 #94562C #36942C #2C6A94
square
#8A2C94 #94562C #36942C #2C6A94
split-complementary
#8A2C94 #6A942C #2C9456
monochromatic
#321036 #5E1E65 #8A2C94 #B63AC3 #C868D2

Accessibility & contrast

On white

7.32
#8A2C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8A2C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C94
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C94#FFFFFF#000000##FFFFFF
##8A2C941.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4F97
Deuteranopia (green-blind)
#3E5A91
Tritanopia (blue-blind)
#8C3D5D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a2c94;
/* rgb */ color: rgb(138, 44, 148);
/* oklch */ color: oklch(47.7% 0.178 323.7);
Tailwind
colors: {
  custom: {
    50: '#af6eb4',
    500: '#8a2c94',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c94;
$custom-light: #af6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c94",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 294.231,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4769,
    "c": 0.17814,
    "h": 323.7
  },
  "luminance": 0.09343
}

Semantic roles & 50–950 ramp

primary
#8A2C94
secondary
#6BB963
accent
#DE4A58
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2C94

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

Preview Lab → · Contrast checker → · Palette generator →

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