#8A1C96#8A1C96

#8A1C96 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.5% C 0.197 H 323.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8A1C96
RGBrgb(138, 28, 150)
HSLhsl(294, 69%, 35%)
HSVhsv(294, 81%, 59%)
CMYKcmyk(8%, 81.3%, 0%, 41.2%)
CIE-LABlab(34.88, 59.07, -41.86)
CIE-LCHlch(34.88, 72.40, 324.68°)
OKLaboklab(46.48% 0.1583 -0.117)
OKLCHoklch(46.48% 0.197 323.5)
XYZxyz(16.4010, 8.4368, 29.6129)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C96 #28961C
analogous
#4D1C96 #8A1C96 #961C65
triadic
#8A1C96 #968A1C #1C968A
tetradic
#8A1C96 #964D1C #28961C #1C6596
square
#8A1C96 #964D1C #28961C #1C6596
split-complementary
#8A1C96 #65961C #1C964D
monochromatic
#2B092F #5B1262 #8A1C96 #B926CA #D04EDE

Accessibility & contrast

On white

7.81
#8A1C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8A1C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C96
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C96#FFFFFF#000000##FFFFFF
##8A1C961.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#345693
Tritanopia (blue-blind)
#8C355A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a1c96;
/* rgb */ color: rgb(138, 28, 150);
/* oklch */ color: oklch(46.5% 0.197 323.5);
Tailwind
colors: {
  custom: {
    50: '#b067b5',
    500: '#8a1c96',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c96;
$custom-light: #b067b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c96",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 294.098,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46475,
    "c": 0.19685,
    "h": 323.5
  },
  "luminance": 0.08436
}

Semantic roles & 50–950 ramp

primary
#8A1C96
secondary
#59C14D
accent
#EB3C4E
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A1C96

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

Preview Lab → · Contrast checker → · Palette generator →

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