#8F127F#8F127F

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

Color values

HEX#8F127F
RGBrgb(143, 18, 127)
HSLhsl(308, 78%, 32%)
HSVhsv(308, 87%, 56%)
CMYKcmyk(0%, 87.4%, 11.2%, 43.9%)
CIE-LABlab(33.58, 58.75, -29.66)
CIE-LCHlch(33.58, 65.81, 333.21°)
OKLaboklab(45.28% 0.1714 -0.0813)
OKLCHoklch(45.28% 0.19 334.6)
XYZxyz(15.3750, 7.8060, 20.7715)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F127F #128F22
analogous
#61128F #8F127F #8F1241
triadic
#8F127F #7F8F12 #127F8F
tetradic
#8F127F #8F6112 #128F22 #12418F
square
#8F127F #8F6112 #128F22 #12418F
split-complementary
#8F127F #418F12 #128F61
monochromatic
#22041E #590B4F #8F127F #C519AF #E636CF

Accessibility & contrast

On white

8.20
#8F127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F127F
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F127F#FFFFFF#000000##FFFFFF
##8F127F1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4482
Deuteranopia (green-blind)
#44557C
Tritanopia (blue-blind)
#96214B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f127f;
/* rgb */ color: rgb(143, 18, 127);
/* oklch */ color: oklch(45.3% 0.190 334.6);
Tailwind
colors: {
  custom: {
    50: '#b464a4',
    500: '#8f127f',
    950: '#000000',
  },
}
SCSS
$custom: #8f127f;
$custom-light: #b464a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f127f",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 307.68,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45278,
    "c": 0.18974,
    "h": 334.6
  },
  "luminance": 0.07805
}

Semantic roles & 50–950 ramp

primary
#8F127F
secondary
#3AC34B
accent
#F44C34
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8F127F

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

Preview Lab → · Contrast checker → · Palette generator →

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