#8A1CA0#8A1CA0

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

Color values

HEX#8A1CA0
RGBrgb(138, 28, 160)
HSLhsl(290, 70%, 37%)
HSVhsv(290, 83%, 63%)
CMYKcmyk(13.8%, 82.5%, 0%, 37.3%)
CIE-LABlab(35.54, 60.87, -46.87)
CIE-LCHlch(35.54, 76.82, 322.40°)
OKLaboklab(47.16% 0.157 -0.1317)
OKLCHoklch(47.16% 0.205 320)
XYZxyz(17.2409, 8.7728, 34.0361)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1CA0 #32A01C
analogous
#481CA0 #8A1CA0 #A01C74
triadic
#8A1CA0 #A08A1C #1CA08A
tetradic
#8A1CA0 #A0481C #32A01C #1C74A0
square
#8A1CA0 #A0481C #32A01C #1C74A0
split-complementary
#8A1CA0 #74A01C #1CA048
monochromatic
#300A38 #5D136C #8A1CA0 #B725D4 #CA55E1

Accessibility & contrast

On white

7.62
#8A1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8A1CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1CA0
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1CA0#FFFFFF#000000##FFFFFF
##8A1CA01.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#2A579D
Tritanopia (blue-blind)
#8A3A60
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a1ca0;
/* rgb */ color: rgb(138, 28, 160);
/* oklch */ color: oklch(47.2% 0.205 320.0);
Tailwind
colors: {
  custom: {
    50: '#b068bd',
    500: '#8a1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #8a1ca0;
$custom-light: #b068bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1ca0",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 290,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47157,
    "c": 0.2049,
    "h": 320
  },
  "luminance": 0.08772
}

Semantic roles & 50–950 ramp

primary
#8A1CA0
secondary
#66C453
accent
#ED3B59
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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