#8A1DA0#8A1DA0

#8A1DA0 is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.2% C 0.204 H 320.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8A1DA0
RGBrgb(138, 29, 160)
HSLhsl(290, 69%, 37%)
HSVhsv(290, 82%, 63%)
CMYKcmyk(13.8%, 81.9%, 0%, 37.3%)
CIE-LABlab(35.64, 60.59, -46.72)
CIE-LCHlch(35.64, 76.51, 322.37°)
OKLaboklab(47.22% 0.1563 -0.1312)
OKLCHoklch(47.22% 0.204 320)
XYZxyz(17.2650, 8.8210, 34.0441)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1DA0 #33A01D
analogous
#491DA0 #8A1DA0 #A01D74
triadic
#8A1DA0 #A08A1D #1DA08A
tetradic
#8A1DA0 #A0491D #33A01D #1D74A0
square
#8A1DA0 #A0491D #33A01D #1D74A0
split-complementary
#8A1DA0 #74A01D #1DA049
monochromatic
#310A38 #5D146C #8A1DA0 #B726D4 #C957E1

Accessibility & contrast

On white

7.60
#8A1DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8A1DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1DA0
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1DA0#FFFFFF#000000##FFFFFF
##8A1DA01.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#2B579D
Tritanopia (blue-blind)
#8A3B60
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a1da0;
/* rgb */ color: rgb(138, 29, 160);
/* oklch */ color: oklch(47.2% 0.204 320.0);
Tailwind
colors: {
  custom: {
    50: '#b068bd',
    500: '#8a1da0',
    950: '#000000',
  },
}
SCSS
$custom: #8a1da0;
$custom-light: #b068bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1da0",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 289.924,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47223,
    "c": 0.20407,
    "h": 320
  },
  "luminance": 0.0882
}

Semantic roles & 50–950 ramp

primary
#8A1DA0
secondary
#67C455
accent
#EC3C59
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A1DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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