#8F1F9E#8F1F9E

#8F1F9E is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.0% C 0.203 H 322.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8F1F9E
RGBrgb(143, 31, 158)
HSLhsl(293, 67%, 37%)
HSVhsv(293, 80%, 62%)
CMYKcmyk(9.5%, 80.4%, 0%, 38%)
CIE-LABlab(36.54, 60.63, -44.02)
CIE-LCHlch(36.54, 74.92, 324.02°)
OKLaboklab(47.98% 0.1609 -0.1232)
OKLCHoklch(47.98% 0.203 322.6)
XYZxyz(17.9886, 9.2893, 33.1866)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F9E #2E9E1F
analogous
#4F1F9E #8F1F9E #9E1F6E
triadic
#8F1F9E #9E8F1F #1F9E8F
tetradic
#8F1F9E #9E4F1F #2E9E1F #1F6E9E
square
#8F1F9E #9E4F1F #2E9E1F #1F6E9E
split-complementary
#8F1F9E #6E9E1F #1F9E4F
monochromatic
#320B38 #61156B #8F1F9E #BD29D1 #CF59DE

Accessibility & contrast

On white

7.35
#8F1F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8F1F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F9E
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F9E#FFFFFF#000000##FFFFFF
##8F1F9E1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#345A9B
Tritanopia (blue-blind)
#913A5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f1f9e;
/* rgb */ color: rgb(143, 31, 158);
/* oklch */ color: oklch(48.0% 0.203 322.6);
Tailwind
colors: {
  custom: {
    50: '#b46abb',
    500: '#8f1f9e',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f9e;
$custom-light: #b46abb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f9e",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 292.913,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47977,
    "c": 0.20268,
    "h": 322.6
  },
  "luminance": 0.09288
}

Semantic roles & 50–950 ramp

primary
#8F1F9E
secondary
#63C256
accent
#EA3E52
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F1F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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