#8A1C95#8A1C95

#8A1C95 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.196 H 323.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8A1C95
RGBrgb(138, 28, 149)
HSLhsl(295, 68%, 35%)
HSVhsv(295, 81%, 58%)
CMYKcmyk(7.4%, 81.2%, 0%, 41.6%)
CIE-LABlab(34.81, 58.89, -41.35)
CIE-LCHlch(34.81, 71.96, 324.92°)
OKLaboklab(46.41% 0.1584 -0.1155)
OKLCHoklch(46.41% 0.196 323.9)
XYZxyz(16.3208, 8.4048, 29.1906)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C95 #27951C
analogous
#4D1C95 #8A1C95 #951C64
triadic
#8A1C95 #958A1C #1C958A
tetradic
#8A1C95 #954D1C #27951C #1C6495
square
#8A1C95 #954D1C #27951C #1C6495
split-complementary
#8A1C95 #64951C #1C954D
monochromatic
#2B092E #5A1261 #8A1C95 #BA26C9 #D14EDE

Accessibility & contrast

On white

7.83
#8A1C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8A1C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C95
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C95#FFFFFF#000000##FFFFFF
##8A1C951.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#345692
Tritanopia (blue-blind)
#8D3559
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a1c95;
/* rgb */ color: rgb(138, 28, 149);
/* oklch */ color: oklch(46.4% 0.196 323.9);
Tailwind
colors: {
  custom: {
    50: '#b067b5',
    500: '#8a1c95',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c95;
$custom-light: #b067b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c95",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 294.545,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46409,
    "c": 0.19606,
    "h": 323.9
  },
  "luminance": 0.08404
}

Semantic roles & 50–950 ramp

primary
#8A1C95
secondary
#57C04D
accent
#EB3D4C
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A1C95

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

Preview Lab → · Contrast checker → · Palette generator →

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