#8A1C90#8A1C90

#8A1C90 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.1% C 0.192 H 325.8°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8A1C90
RGBrgb(138, 28, 144)
HSLhsl(297, 67%, 34%)
HSVhsv(297, 81%, 56%)
CMYKcmyk(4.2%, 80.6%, 0%, 43.5%)
CIE-LABlab(34.50, 58.02, -38.80)
CIE-LCHlch(34.50, 69.80, 326.23°)
OKLaboklab(46.08% 0.1588 -0.1081)
OKLCHoklch(46.08% 0.192 325.8)
XYZxyz(15.9302, 8.2485, 27.1332)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C90 #22901C
analogous
#501C90 #8A1C90 #901C5C
triadic
#8A1C90 #908A1C #1C908A
tetradic
#8A1C90 #90501C #22901C #1C5C90
square
#8A1C90 #90501C #22901C #1C5C90
split-complementary
#8A1C90 #5C901C #1C9050
monochromatic
#28082A #59125D #8A1C90 #BB26C3 #D44ADC

Accessibility & contrast

On white

7.93
#8A1C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8A1C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C90
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C90#FFFFFF#000000##FFFFFF
##8A1C901.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1c90;
/* rgb */ color: rgb(138, 28, 144);
/* oklch */ color: oklch(46.1% 0.192 325.8);
Tailwind
colors: {
  custom: {
    50: '#b067b1',
    500: '#8a1c90',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c90;
$custom-light: #b067b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c90",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 296.897,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46083,
    "c": 0.1921,
    "h": 325.8
  },
  "luminance": 0.08247
}

Semantic roles & 50–950 ramp

primary
#8A1C90
secondary
#50BE4A
accent
#EA3D46
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110711
muted
#807A80

Preview Lab

Preview with #8A1C90

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

Preview Lab → · Contrast checker → · Palette generator →

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