#8A2C92#8A2C92

#8A2C92 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.176 H 324.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8A2C92
RGBrgb(138, 44, 146)
HSLhsl(295, 54%, 37%)
HSVhsv(295, 70%, 57%)
CMYKcmyk(5.5%, 69.9%, 0%, 42.7%)
CIE-LABlab(36.52, 52.94, -36.79)
CIE-LCHlch(36.52, 64.47, 325.20°)
OKLaboklab(47.57% 0.1437 -0.1023)
OKLCHoklch(47.57% 0.176 324.5)
XYZxyz(16.5698, 9.2810, 28.1072)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C92 #34922C
analogous
#572C92 #8A2C92 #922C67
triadic
#8A2C92 #928A2C #2C928A
tetradic
#8A2C92 #92572C #34922C #2C6792
square
#8A2C92 #92572C #34922C #2C6792
split-complementary
#8A2C92 #67922C #2C9257
monochromatic
#311034 #5E1E63 #8A2C92 #B63AC1 #C967D1

Accessibility & contrast

On white

7.35
#8A2C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8A2C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C92
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C92#FFFFFF#000000##FFFFFF
##8A2C921.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134F95
Deuteranopia (green-blind)
#3F5A8F
Tritanopia (blue-blind)
#8D3D5C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a2c92;
/* rgb */ color: rgb(138, 44, 146);
/* oklch */ color: oklch(47.6% 0.176 324.5);
Tailwind
colors: {
  custom: {
    50: '#af6eb2',
    500: '#8a2c92',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c92;
$custom-light: #af6eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c92",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 295.294,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47567,
    "c": 0.1764,
    "h": 324.5
  },
  "luminance": 0.0928
}

Semantic roles & 50–950 ramp

primary
#8A2C92
secondary
#69B862
accent
#DD4B56
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2C92

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

Preview Lab → · Contrast checker → · Palette generator →

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