#8A1E90#8A1E90

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

Color values

HEX#8A1E90
RGBrgb(138, 30, 144)
HSLhsl(297, 66%, 34%)
HSVhsv(297, 79%, 56%)
CMYKcmyk(4.2%, 79.2%, 0%, 43.5%)
CIE-LABlab(34.69, 57.45, -38.48)
CIE-LCHlch(34.69, 69.14, 326.19°)
OKLaboklab(46.22% 0.1572 -0.1071)
OKLCHoklch(46.22% 0.19 325.7)
XYZxyz(15.9792, 8.3465, 27.1496)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E90 #24901E
analogous
#511E90 #8A1E90 #901E5D
triadic
#8A1E90 #908A1E #1E908A
tetradic
#8A1E90 #90511E #24901E #1E5D90
square
#8A1E90 #90511E #24901E #1E5D90
split-complementary
#8A1E90 #5D901E #1E9051
monochromatic
#29092B #59135D #8A1E90 #BB29C3 #D34EDA

Accessibility & contrast

On white

7.87
#8A1E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8A1E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E90
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E90#FFFFFF#000000##FFFFFF
##8A1E901.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1e90;
/* rgb */ color: rgb(138, 30, 144);
/* oklch */ color: oklch(46.2% 0.190 325.7);
Tailwind
colors: {
  custom: {
    50: '#b068b1',
    500: '#8a1e90',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e90;
$custom-light: #b068b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e90",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 296.842,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46224,
    "c": 0.19026,
    "h": 325.7
  },
  "luminance": 0.08345
}

Semantic roles & 50–950 ramp

primary
#8A1E90
secondary
#53BD4D
accent
#E83F48
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110711
muted
#807A80

Preview Lab

Preview with #8A1E90

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

Preview Lab → · Contrast checker → · Palette generator →

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