#8A2B92#8A2B92

#8A2B92 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.5% C 0.178 H 324.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8A2B92
RGBrgb(138, 43, 146)
HSLhsl(295, 54%, 37%)
HSVhsv(295, 71%, 57%)
CMYKcmyk(5.5%, 70.5%, 0%, 42.7%)
CIE-LABlab(36.38, 53.33, -37.02)
CIE-LCHlch(36.38, 64.92, 325.24°)
OKLaboklab(47.47% 0.1448 -0.103)
OKLCHoklch(47.47% 0.178 324.6)
XYZxyz(16.5330, 9.2074, 28.0949)
Luminance0.0921 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B92 #33922B
analogous
#572B92 #8A2B92 #922B67
triadic
#8A2B92 #928A2B #2B928A
tetradic
#8A2B92 #92572B #33922B #2B6792
square
#8A2B92 #92572B #33922B #2B6792
split-complementary
#8A2B92 #67922B #2B9257
monochromatic
#310F33 #5D1D63 #8A2B92 #B739C1 #C966D2

Accessibility & contrast

On white

7.39
#8A2B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8A2B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B92
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B92#FFFFFF#000000##FFFFFF
##8A2B921.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104E95
Deuteranopia (green-blind)
#3E598F
Tritanopia (blue-blind)
#8D3C5B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a2b92;
/* rgb */ color: rgb(138, 43, 146);
/* oklch */ color: oklch(47.5% 0.178 324.6);
Tailwind
colors: {
  custom: {
    50: '#af6db2',
    500: '#8a2b92',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b92;
$custom-light: #af6db2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b92",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 295.34,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47467,
    "c": 0.17765,
    "h": 324.6
  },
  "luminance": 0.09206
}

Semantic roles & 50–950 ramp

primary
#8A2B92
secondary
#67B861
accent
#DE4A55
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2B92

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

Preview Lab → · Contrast checker → · Palette generator →

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