#8A1E94#8A1E94

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

Color values

HEX#8A1E94
RGBrgb(138, 30, 148)
HSLhsl(295, 66%, 35%)
HSVhsv(295, 80%, 58%)
CMYKcmyk(6.8%, 79.7%, 0%, 42%)
CIE-LABlab(34.95, 58.15, -40.53)
CIE-LCHlch(34.95, 70.88, 325.12°)
OKLaboklab(46.48% 0.1569 -0.1131)
OKLCHoklch(46.48% 0.193 324.2)
XYZxyz(16.2904, 8.4710, 28.7883)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E94 #28941E
analogous
#4F1E94 #8A1E94 #941E63
triadic
#8A1E94 #948A1E #1E948A
tetradic
#8A1E94 #944F1E #28941E #1E6394
square
#8A1E94 #944F1E #28941E #1E6394
split-complementary
#8A1E94 #63941E #1E944F
monochromatic
#2B092E #5B1461 #8A1E94 #B928C7 #D051DC

Accessibility & contrast

On white

7.80
#8A1E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1E94
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E94#FFFFFF#000000##FFFFFF
##8A1E941.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1e94;
/* rgb */ color: rgb(138, 30, 148);
/* oklch */ color: oklch(46.5% 0.193 324.2);
Tailwind
colors: {
  custom: {
    50: '#b068b4',
    500: '#8a1e94',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e94;
$custom-light: #b068b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e94",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 294.915,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46483,
    "c": 0.19346,
    "h": 324.2
  },
  "luminance": 0.0847
}

Semantic roles & 50–950 ramp

primary
#8A1E94
secondary
#59BF4F
accent
#E93F4D
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A1E94

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

Preview Lab → · Contrast checker → · Palette generator →

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