#8A1D90#8A1D90

#8A1D90 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.191 H 325.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8A1D90
RGBrgb(138, 29, 144)
HSLhsl(297, 66%, 34%)
HSVhsv(297, 80%, 56%)
CMYKcmyk(4.2%, 79.9%, 0%, 43.5%)
CIE-LABlab(34.59, 57.74, -38.64)
CIE-LCHlch(34.59, 69.48, 326.21°)
OKLaboklab(46.15% 0.158 -0.1076)
OKLCHoklch(46.15% 0.191 325.7)
XYZxyz(15.9543, 8.2967, 27.1413)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D90 #23901D
analogous
#511D90 #8A1D90 #901D5D
triadic
#8A1D90 #908A1D #1D908A
tetradic
#8A1D90 #90511D #23901D #1D5D90
square
#8A1D90 #90511D #23901D #1D5D90
split-complementary
#8A1D90 #5D901D #1D9051
monochromatic
#28082A #59135D #8A1D90 #BB27C3 #D44CDB

Accessibility & contrast

On white

7.90
#8A1D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8A1D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D90
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D90#FFFFFF#000000##FFFFFF
##8A1D901.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#39568D
Tritanopia (blue-blind)
#8D3357
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a1d90;
/* rgb */ color: rgb(138, 29, 144);
/* oklch */ color: oklch(46.2% 0.191 325.7);
Tailwind
colors: {
  custom: {
    50: '#b067b1',
    500: '#8a1d90',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d90;
$custom-light: #b067b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d90",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 144
  },
  "hsl": {
    "h": 296.87,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46153,
    "c": 0.19119,
    "h": 325.7
  },
  "luminance": 0.08296
}

Semantic roles & 50–950 ramp

primary
#8A1D90
secondary
#51BD4B
accent
#E93E47
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110711
muted
#807A80

Preview Lab

Preview with #8A1D90

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

Preview Lab → · Contrast checker → · Palette generator →

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