#8A2A93#8A2A93

#8A2A93 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.180 H 324.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8A2A93
RGBrgb(138, 42, 147)
HSLhsl(295, 56%, 37%)
HSVhsv(295, 71%, 58%)
CMYKcmyk(6.1%, 71.4%, 0%, 42.4%)
CIE-LABlab(36.30, 53.90, -37.75)
CIE-LCHlch(36.30, 65.80, 324.99°)
OKLaboklab(47.43% 0.1458 -0.1051)
OKLCHoklch(47.43% 0.18 324.2)
XYZxyz(16.5752, 9.1668, 28.4944)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A93 #33932A
analogous
#562A93 #8A2A93 #932A68
triadic
#8A2A93 #938A2A #2A938A
tetradic
#8A2A93 #93562A #33932A #2A6893
square
#8A2A93 #93562A #33932A #2A6893
split-complementary
#8A2A93 #68932A #2A9356
monochromatic
#310F34 #5D1C63 #8A2A93 #B738C3 #C965D3

Accessibility & contrast

On white

7.41
#8A2A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8A2A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A93
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A93#FFFFFF#000000##FFFFFF
##8A2A931.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4E96
Deuteranopia (green-blind)
#3D5990
Tritanopia (blue-blind)
#8D3C5C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2a93;
/* rgb */ color: rgb(138, 42, 147);
/* oklch */ color: oklch(47.4% 0.180 324.2);
Tailwind
colors: {
  custom: {
    50: '#af6db3',
    500: '#8a2a93',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a93;
$custom-light: #af6db3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a93",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 294.857,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47431,
    "c": 0.17974,
    "h": 324.2
  },
  "luminance": 0.09166
}

Semantic roles & 50–950 ramp

primary
#8A2A93
secondary
#67B960
accent
#DF4956
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2A93

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

Preview Lab → · Contrast checker → · Palette generator →

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