#8A2E95#8A2E95

#8A2E95 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.176 H 323.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8A2E95
RGBrgb(138, 46, 149)
HSLhsl(294, 53%, 38%)
HSVhsv(294, 69%, 58%)
CMYKcmyk(7.4%, 69.1%, 0%, 41.6%)
CIE-LABlab(36.98, 52.69, -37.89)
CIE-LCHlch(36.98, 64.90, 324.28°)
OKLaboklab(47.96% 0.1415 -0.1055)
OKLCHoklch(47.96% 0.176 323.3)
XYZxyz(16.8825, 9.5282, 29.3778)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E95 #39952E
analogous
#562E95 #8A2E95 #952E6C
triadic
#8A2E95 #958A2E #2E958A
tetradic
#8A2E95 #95562E #39952E #2E6C95
square
#8A2E95 #95562E #39952E #2E6C95
split-complementary
#8A2E95 #6C952E #2E9556
monochromatic
#331137 #5F2066 #8A2E95 #B53DC3 #C76CD2

Accessibility & contrast

On white

7.23
#8A2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8A2E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E95
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E95#FFFFFF#000000##FFFFFF
##8A2E951.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125098
Deuteranopia (green-blind)
#3E5B92
Tritanopia (blue-blind)
#8C3F5E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a2e95;
/* rgb */ color: rgb(138, 46, 149);
/* oklch */ color: oklch(48.0% 0.176 323.3);
Tailwind
colors: {
  custom: {
    50: '#af6fb5',
    500: '#8a2e95',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e95;
$custom-light: #af6fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e95",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 293.592,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47956,
    "c": 0.17648,
    "h": 323.3
  },
  "luminance": 0.09527
}

Semantic roles & 50–950 ramp

primary
#8A2E95
secondary
#6FB966
accent
#DC4C5B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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