#8B148D#8B148D

#8B148D is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.6% C 0.197 H 327.4°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8B148D
RGBrgb(139, 20, 141)
HSLhsl(299, 75%, 32%)
HSVhsv(299, 86%, 55%)
CMYKcmyk(1.4%, 85.8%, 0%, 44.7%)
CIE-LABlab(33.80, 59.71, -38.05)
CIE-LCHlch(33.80, 70.80, 327.49°)
OKLaboklab(45.57% 0.1657 -0.1058)
OKLCHoklch(45.57% 0.197 327.4)
XYZxyz(15.7051, 7.9135, 25.8944)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B148D #168D14
analogous
#4F148D #8B148D #8D1453
triadic
#8B148D #8D8B14 #148D8B
tetradic
#8B148D #8D4F14 #168D14 #14538D
square
#8B148D #8D4F14 #168D14 #14538D
split-complementary
#8B148D #538D14 #148D4F
monochromatic
#210522 #560C57 #8B148D #C01CC3 #E039E3

Accessibility & contrast

On white

8.13
#8B148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8B148D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B148D
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B148D#FFFFFF#000000##FFFFFF
##8B148D1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b148d;
/* rgb */ color: rgb(139, 20, 141);
/* oklch */ color: oklch(45.6% 0.197 327.4);
Tailwind
colors: {
  custom: {
    50: '#b165af',
    500: '#8b148d',
    950: '#000000',
  },
}
SCSS
$custom: #8b148d;
$custom-light: #b165af;
$custom-dark: #000000;
JSON
{
  "hex": "#8b148d",
  "rgb": {
    "r": 139,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 299.008,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45566,
    "c": 0.19659,
    "h": 327.4
  },
  "luminance": 0.07912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B148D

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

Preview Lab → · Contrast checker → · Palette generator →

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