#8A1E95#8A1E95

#8A1E95 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.194 H 323.8°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#8A1E95
RGBrgb(138, 30, 149)
HSLhsl(294, 66%, 35%)
HSVhsv(294, 80%, 58%)
CMYKcmyk(7.4%, 79.9%, 0%, 41.6%)
CIE-LABlab(35.01, 58.32, -41.04)
CIE-LCHlch(35.01, 71.31, 324.87°)
OKLaboklab(46.55% 0.1568 -0.1146)
OKLCHoklch(46.55% 0.194 323.8)
XYZxyz(16.3698, 8.5028, 29.2069)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E95 #29951E
analogous
#4F1E95 #8A1E95 #951E64
triadic
#8A1E95 #958A1E #1E958A
tetradic
#8A1E95 #954F1E #29951E #1E6495
square
#8A1E95 #954F1E #29951E #1E6495
split-complementary
#8A1E95 #64951E #1E954F
monochromatic
#2C092F #5B1462 #8A1E95 #B928C8 #CF51DC

Accessibility & contrast

On white

7.78
#8A1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8A1E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E95
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E95#FFFFFF#000000##FFFFFF
##8A1E951.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1e95;
/* rgb */ color: rgb(138, 30, 149);
/* oklch */ color: oklch(46.5% 0.194 323.8);
Tailwind
colors: {
  custom: {
    50: '#b068b5',
    500: '#8a1e95',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e95;
$custom-light: #b068b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e95",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 294.454,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46548,
    "c": 0.19426,
    "h": 323.8
  },
  "luminance": 0.08502
}

Semantic roles & 50–950 ramp

primary
#8A1E95
secondary
#5ABF50
accent
#E93E4E
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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