#8A2D91#8A2D91

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

Color values

HEX#8A2D91
RGBrgb(138, 45, 145)
HSLhsl(296, 53%, 37%)
HSVhsv(296, 69%, 57%)
CMYKcmyk(4.8%, 69%, 0%, 43.1%)
CIE-LABlab(36.60, 52.35, -36.05)
CIE-LCHlch(36.60, 63.57, 325.45°)
OKLaboklab(47.61% 0.1426 -0.1002)
OKLCHoklch(47.61% 0.174 324.9)
XYZxyz(16.5301, 9.3254, 27.7119)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D91 #34912D
analogous
#582D91 #8A2D91 #912D66
triadic
#8A2D91 #918A2D #2D918A
tetradic
#8A2D91 #91582D #34912D #2D6691
square
#8A2D91 #91582D #34912D #2D6691
split-complementary
#8A2D91 #66912D #2D9158
monochromatic
#311034 #5E1F62 #8A2D91 #B63BC0 #C968D0

Accessibility & contrast

On white

7.33
#8A2D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8A2D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D91
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D91#FFFFFF#000000##FFFFFF
##8A2D911.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174F94
Deuteranopia (green-blind)
#405A8E
Tritanopia (blue-blind)
#8D3D5B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a2d91;
/* rgb */ color: rgb(138, 45, 145);
/* oklch */ color: oklch(47.6% 0.174 324.9);
Tailwind
colors: {
  custom: {
    50: '#af6eb2',
    500: '#8a2d91',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d91;
$custom-light: #af6eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d91",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 295.8,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47608,
    "c": 0.17425,
    "h": 324.9
  },
  "luminance": 0.09324
}

Semantic roles & 50–950 ramp

primary
#8A2D91
secondary
#69B763
accent
#DC4C56
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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