#8A148D#8A148D

#8A148D is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.4% C 0.196 H 327.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8A148D
RGBrgb(138, 20, 141)
HSLhsl(299, 75%, 32%)
HSVhsv(299, 86%, 55%)
CMYKcmyk(2.1%, 85.8%, 0%, 44.7%)
CIE-LABlab(33.62, 59.51, -38.34)
CIE-LCHlch(33.62, 70.80, 327.21°)
OKLaboklab(45.41% 0.1646 -0.1067)
OKLCHoklch(45.41% 0.196 327.1)
XYZxyz(15.5389, 7.8278, 25.8866)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A148D #178D14
analogous
#4E148D #8A148D #8D1454
triadic
#8A148D #8D8A14 #148D8A
tetradic
#8A148D #8D4E14 #178D14 #14548D
square
#8A148D #8D4E14 #178D14 #14548D
split-complementary
#8A148D #548D14 #148D4E
monochromatic
#210522 #560C57 #8A148D #BE1CC3 #DF39E3

Accessibility & contrast

On white

8.19
#8A148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8A148D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A148D
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A148D#FFFFFF#000000##FFFFFF
##8A148D1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#37548A
Tritanopia (blue-blind)
#8E2D53
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a148d;
/* rgb */ color: rgb(138, 20, 141);
/* oklch */ color: oklch(45.4% 0.196 327.1);
Tailwind
colors: {
  custom: {
    50: '#b064af',
    500: '#8a148d',
    950: '#000000',
  },
}
SCSS
$custom: #8a148d;
$custom-light: #b064af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a148d",
  "rgb": {
    "r": 138,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 298.512,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45405,
    "c": 0.19617,
    "h": 327.1
  },
  "luminance": 0.07827
}

Semantic roles & 50–950 ramp

primary
#8A148D
secondary
#3FC13C
accent
#F2363B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8A148D

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

Preview Lab → · Contrast checker → · Palette generator →

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