#8A2B94#8A2B94

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

Color values

HEX#8A2B94
RGBrgb(138, 43, 148)
HSLhsl(294, 55%, 37%)
HSVhsv(294, 71%, 58%)
CMYKcmyk(6.8%, 70.9%, 0%, 42%)
CIE-LABlab(36.50, 53.70, -38.05)
CIE-LCHlch(36.50, 65.81, 324.68°)
OKLaboklab(47.59% 0.1447 -0.106)
OKLCHoklch(47.59% 0.179 323.8)
XYZxyz(16.6899, 9.2701, 28.9215)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B94 #35942B
analogous
#562B94 #8A2B94 #942B69
triadic
#8A2B94 #948A2B #2B948A
tetradic
#8A2B94 #94562B #35942B #2B6994
square
#8A2B94 #94562B #35942B #2B6994
split-complementary
#8A2B94 #69942B #2B9456
monochromatic
#320F35 #5E1D65 #8A2B94 #B639C3 #C867D3

Accessibility & contrast

On white

7.36
#8A2B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8A2B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B94
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B94#FFFFFF#000000##FFFFFF
##8A2B941.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4F97
Deuteranopia (green-blind)
#3D5A91
Tritanopia (blue-blind)
#8C3D5C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a2b94;
/* rgb */ color: rgb(138, 43, 148);
/* oklch */ color: oklch(47.6% 0.179 323.8);
Tailwind
colors: {
  custom: {
    50: '#af6db4',
    500: '#8a2b94',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b94;
$custom-light: #af6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b94",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 294.286,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4759,
    "c": 0.17938,
    "h": 323.8
  },
  "luminance": 0.09269
}

Semantic roles & 50–950 ramp

primary
#8A2B94
secondary
#6AB962
accent
#DE4958
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2B94

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

Preview Lab → · Contrast checker → · Palette generator →

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