#8F128B#8F128B

#8F128B is a mid, vivid purple. Relative luminance 0.081; OKLCH L 46.0% C 0.198 H 329.8°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8F128B
RGBrgb(143, 18, 139)
HSLhsl(302, 78%, 32%)
HSVhsv(302, 87%, 56%)
CMYKcmyk(0%, 87.4%, 2.8%, 43.9%)
CIE-LABlab(34.27, 60.57, -36.02)
CIE-LCHlch(34.27, 70.48, 329.26°)
OKLaboklab(45.99% 0.1712 -0.0998)
OKLCHoklch(45.99% 0.198 329.8)
XYZxyz(16.2041, 8.1377, 25.1384)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F128B #128F16
analogous
#55128F #8F128B #8F124D
triadic
#8F128B #8B8F12 #128B8F
tetradic
#8F128B #8F5512 #128F16 #124D8F
square
#8F128B #8F5512 #128F16 #124D8F
split-complementary
#8F128B #4D8F12 #128F55
monochromatic
#220421 #590B56 #8F128B #C519C0 #E636E0

Accessibility & contrast

On white

7.99
#8F128B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8F128B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F128B
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F128B#FFFFFF#000000##FFFFFF
##8F128B1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#3D5688
Tritanopia (blue-blind)
#942952
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f128b;
/* rgb */ color: rgb(143, 18, 139);
/* oklch */ color: oklch(46.0% 0.198 329.8);
Tailwind
colors: {
  custom: {
    50: '#b465ad',
    500: '#8f128b',
    950: '#000000',
  },
}
SCSS
$custom: #8f128b;
$custom-light: #b465ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8f128b",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 139
  },
  "hsl": {
    "h": 301.92,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45993,
    "c": 0.19819,
    "h": 329.8
  },
  "luminance": 0.08136
}

Semantic roles & 50–950 ramp

primary
#8F128B
secondary
#3AC33E
accent
#F43A34
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120610
muted
#817A7F

Preview Lab

Preview with #8F128B

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

Preview Lab → · Contrast checker → · Palette generator →

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