#8F128F#8F128F

#8F128F is a mid, highly saturated purple. Relative luminance 0.083; OKLCH L 46.2% C 0.201 H 328.2°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8F128F
RGBrgb(143, 18, 143)
HSLhsl(300, 78%, 32%)
HSVhsv(300, 87%, 56%)
CMYKcmyk(0%, 87.4%, 0%, 43.9%)
CIE-LABlab(34.51, 61.21, -38.10)
CIE-LCHlch(34.51, 72.10, 328.10°)
OKLaboklab(46.24% 0.171 -0.1058)
OKLCHoklch(46.24% 0.201 328.2)
XYZxyz(16.5017, 8.2567, 26.7059)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F128F #128F12
analogous
#51128F #8F128F #8F1251
triadic
#8F128F #8F8F12 #128F8F
tetradic
#8F128F #8F5112 #128F12 #12518F
square
#8F128F #8F5112 #128F12 #12518F
split-complementary
#8F128F #518F12 #128F51
monochromatic
#220422 #590B59 #8F128F #C519C5 #E636E6

Accessibility & contrast

On white

7.92
#8F128F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8F128F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F128F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F128F#FFFFFF#000000##FFFFFF
##8F128F1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#3B568C
Tritanopia (blue-blind)
#942B54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f128f;
/* rgb */ color: rgb(143, 18, 143);
/* oklch */ color: oklch(46.2% 0.201 328.2);
Tailwind
colors: {
  custom: {
    50: '#b465b0',
    500: '#8f128f',
    950: '#000000',
  },
}
SCSS
$custom: #8f128f;
$custom-light: #b465b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f128f",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 143
  },
  "hsl": {
    "h": 300,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.46244,
    "c": 0.20109,
    "h": 328.2
  },
  "luminance": 0.08255
}

Semantic roles & 50–950 ramp

primary
#8F128F
secondary
#3AC33A
accent
#F43434
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F128F

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

Preview Lab → · Contrast checker → · Palette generator →

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