#8A1D94#8A1D94

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

Color values

HEX#8A1D94
RGBrgb(138, 29, 148)
HSLhsl(295, 67%, 35%)
HSVhsv(295, 80%, 58%)
CMYKcmyk(6.8%, 80.4%, 0%, 42%)
CIE-LABlab(34.85, 58.44, -40.69)
CIE-LCHlch(34.85, 71.21, 325.15°)
OKLaboklab(46.41% 0.1577 -0.1136)
OKLCHoklch(46.41% 0.194 324.2)
XYZxyz(16.2654, 8.4212, 28.7800)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D94 #27941D
analogous
#4F1D94 #8A1D94 #941D63
triadic
#8A1D94 #948A1D #1D948A
tetradic
#8A1D94 #944F1D #27941D #1D6394
square
#8A1D94 #944F1D #27941D #1D6394
split-complementary
#8A1D94 #63941D #1D944F
monochromatic
#2B092E #5A1361 #8A1D94 #BA27C7 #D14FDC

Accessibility & contrast

On white

7.82
#8A1D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1D94
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D94#FFFFFF#000000##FFFFFF
##8A1D941.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.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: #8a1d94;
/* rgb */ color: rgb(138, 29, 148);
/* oklch */ color: oklch(46.4% 0.194 324.2);
Tailwind
colors: {
  custom: {
    50: '#b068b4',
    500: '#8a1d94',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d94;
$custom-light: #b068b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d94",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 294.958,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46412,
    "c": 0.19437,
    "h": 324.2
  },
  "luminance": 0.0842
}

Semantic roles & 50–950 ramp

primary
#8A1D94
secondary
#57BF4E
accent
#EA3E4C
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A1D94

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

Preview Lab → · Contrast checker → · Palette generator →

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