#8F1E7D#8F1E7D

#8F1E7D is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.178 H 335.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8F1E7D
RGBrgb(143, 30, 125)
HSLhsl(310, 65%, 34%)
HSVhsv(310, 79%, 56%)
CMYKcmyk(0%, 79%, 12.6%, 43.9%)
CIE-LABlab(34.50, 55.47, -26.95)
CIE-LCHlch(34.50, 61.67, 334.08°)
OKLaboklab(45.9% 0.1625 -0.0736)
OKLCHoklch(45.9% 0.178 335.6)
XYZxyz(15.4939, 8.2503, 20.1745)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1E7D #1E8F30
analogous
#691E8F #8F1E7D #8F1E44
triadic
#8F1E7D #7D8F1E #1E7D8F
tetradic
#8F1E7D #8F691E #1E8F30 #1E448F
square
#8F1E7D #8F691E #1E8F30 #1E448F
split-complementary
#8F1E7D #448F1E #1E8F69
monochromatic
#2A0925 #5C1351 #8F1E7D #C229A9 #DA4EC3

Accessibility & contrast

On white

7.93
#8F1E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1E7D
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1E7D#FFFFFF#000000##FFFFFF
##8F1E7D1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4680
Deuteranopia (green-blind)
#48577A
Tritanopia (blue-blind)
#96284C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1e7d;
/* rgb */ color: rgb(143, 30, 125);
/* oklch */ color: oklch(45.9% 0.178 335.6);
Tailwind
colors: {
  custom: {
    50: '#b368a3',
    500: '#8f1e7d',
    950: '#000000',
  },
}
SCSS
$custom: #8f1e7d;
$custom-light: #b368a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1e7d",
  "rgb": {
    "r": 143,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 309.558,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45904,
    "c": 0.17838,
    "h": 335.6
  },
  "luminance": 0.08249
}

Semantic roles & 50–950 ramp

primary
#8F1E7D
secondary
#4CBC5E
accent
#E85A40
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F1E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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