#8A148C#8A148C

#8A148C is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.195 H 327.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#8A148C
RGBrgb(138, 20, 140)
HSLhsl(299, 75%, 31%)
HSVhsv(299, 86%, 55%)
CMYKcmyk(1.4%, 85.7%, 0%, 45.1%)
CIE-LABlab(33.56, 59.35, -37.83)
CIE-LCHlch(33.56, 70.38, 327.49°)
OKLaboklab(45.34% 0.1647 -0.1052)
OKLCHoklch(45.34% 0.195 327.4)
XYZxyz(15.4648, 7.7982, 25.4965)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A148C #168C14
analogous
#4E148C #8A148C #8C1452
triadic
#8A148C #8C8A14 #148C8A
tetradic
#8A148C #8C4E14 #168C14 #14528C
square
#8A148C #8C4E14 #168C14 #14528C
split-complementary
#8A148C #528C14 #148C4E
monochromatic
#200521 #550C56 #8A148C #BF1CC2 #E038E3

Accessibility & contrast

On white

8.21
#8A148C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8A148C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A148C
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A148C#FFFFFF#000000##FFFFFF
##8A148C1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#385489
Tritanopia (blue-blind)
#8E2C53
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a148c;
/* rgb */ color: rgb(138, 20, 140);
/* oklch */ color: oklch(45.3% 0.195 327.4);
Tailwind
colors: {
  custom: {
    50: '#b064ae',
    500: '#8a148c',
    950: '#000000',
  },
}
SCSS
$custom: #8a148c;
$custom-light: #b064ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a148c",
  "rgb": {
    "r": 138,
    "g": 20,
    "b": 140
  },
  "hsl": {
    "h": 299,
    "s": 75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4534,
    "c": 0.19543,
    "h": 327.4
  },
  "luminance": 0.07797
}

Semantic roles & 50–950 ramp

primary
#8A148C
secondary
#3EC03C
accent
#F23639
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8A148C

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

Preview Lab → · Contrast checker → · Palette generator →

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