#8A2D92#8A2D92

#8A2D92 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.7% C 0.175 H 324.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8A2D92
RGBrgb(138, 45, 146)
HSLhsl(295, 53%, 37%)
HSVhsv(295, 69%, 57%)
CMYKcmyk(5.5%, 69.2%, 0%, 42.7%)
CIE-LABlab(36.66, 52.54, -36.57)
CIE-LCHlch(36.66, 64.01, 325.16°)
OKLaboklab(47.67% 0.1426 -0.1017)
OKLCHoklch(47.67% 0.175 324.5)
XYZxyz(16.6075, 9.3564, 28.1198)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D92 #35922D
analogous
#582D92 #8A2D92 #922D67
triadic
#8A2D92 #928A2D #2D928A
tetradic
#8A2D92 #92582D #35922D #2D6792
square
#8A2D92 #92582D #35922D #2D6792
split-complementary
#8A2D92 #67922D #2D9258
monochromatic
#321034 #5E1F63 #8A2D92 #B63BC1 #C869D1

Accessibility & contrast

On white

7.31
#8A2D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8A2D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D92
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D92#FFFFFF#000000##FFFFFF
##8A2D921.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2d92;
/* rgb */ color: rgb(138, 45, 146);
/* oklch */ color: oklch(47.7% 0.175 324.5);
Tailwind
colors: {
  custom: {
    50: '#af6eb2',
    500: '#8a2d92',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d92;
$custom-light: #af6eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d92",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 295.248,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47669,
    "c": 0.17512,
    "h": 324.5
  },
  "luminance": 0.09355
}

Semantic roles & 50–950 ramp

primary
#8A2D92
secondary
#6AB763
accent
#DC4C57
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2D92

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

Preview Lab → · Contrast checker → · Palette generator →

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