#8A1B90#8A1B90

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

Color values

HEX#8A1B90
RGBrgb(138, 27, 144)
HSLhsl(297, 68%, 34%)
HSVhsv(297, 81%, 56%)
CMYKcmyk(4.2%, 81.3%, 0%, 43.5%)
CIE-LABlab(34.40, 58.30, -38.95)
CIE-LCHlch(34.40, 70.11, 326.25°)
OKLaboklab(46.02% 0.1596 -0.1085)
OKLCHoklch(46.02% 0.193 325.8)
XYZxyz(15.9069, 8.2019, 27.1254)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B90 #21901B
analogous
#4F1B90 #8A1B90 #901B5B
triadic
#8A1B90 #908A1B #1B908A
tetradic
#8A1B90 #904F1B #21901B #1B5B90
square
#8A1B90 #904F1B #21901B #1B5B90
split-complementary
#8A1B90 #5B901B #1B904F
monochromatic
#270829 #59115C #8A1B90 #BB25C4 #D549DD

Accessibility & contrast

On white

7.95
#8A1B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8A1B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B90
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B90#FFFFFF#000000##FFFFFF
##8A1B901.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1b90;
/* rgb */ color: rgb(138, 27, 144);
/* oklch */ color: oklch(46.0% 0.193 325.8);
Tailwind
colors: {
  custom: {
    50: '#b067b1',
    500: '#8a1b90',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b90;
$custom-light: #b067b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b90",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 144
  },
  "hsl": {
    "h": 296.923,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46015,
    "c": 0.19298,
    "h": 325.8
  },
  "luminance": 0.08201
}

Semantic roles & 50–950 ramp

primary
#8A1B90
secondary
#4EBF48
accent
#EB3D45
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110711
muted
#807A80

Preview Lab

Preview with #8A1B90

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

Preview Lab → · Contrast checker → · Palette generator →

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