#8F1FA5#8F1FA5

#8F1FA5 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.5% C 0.208 H 320.2°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8F1FA5
RGBrgb(143, 31, 165)
HSLhsl(290, 68%, 38%)
HSVhsv(290, 81%, 65%)
CMYKcmyk(13.3%, 81.2%, 0%, 35.3%)
CIE-LABlab(37.00, 61.89, -47.49)
CIE-LCHlch(37.00, 78.01, 322.50°)
OKLaboklab(48.45% 0.1601 -0.1334)
OKLCHoklch(48.45% 0.208 320.2)
XYZxyz(18.6084, 9.5372, 36.4507)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1FA5 #35A51F
analogous
#4C1FA5 #8F1FA5 #A51F78
triadic
#8F1FA5 #A58F1F #1FA58F
tetradic
#8F1FA5 #A54C1F #35A51F #1F78A5
square
#8F1FA5 #A54C1F #35A51F #1F78A5
split-complementary
#8F1FA5 #78A51F #1FA54C
monochromatic
#360C3E #621571 #8F1FA5 #BB2AD7 #CB5EE1

Accessibility & contrast

On white

7.22
#8F1FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8F1FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1FA5
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1FA5#FFFFFF#000000##FFFFFF
##8F1FA51.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#2E5BA2
Tritanopia (blue-blind)
#8F3D63
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f1fa5;
/* rgb */ color: rgb(143, 31, 165);
/* oklch */ color: oklch(48.5% 0.208 320.2);
Tailwind
colors: {
  custom: {
    50: '#b46ac0',
    500: '#8f1fa5',
    950: '#000000',
  },
}
SCSS
$custom: #8f1fa5;
$custom-light: #b46ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1fa5",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 165
  },
  "hsl": {
    "h": 290.149,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48451,
    "c": 0.20834,
    "h": 320.2
  },
  "luminance": 0.09536
}

Semantic roles & 50–950 ramp

primary
#8F1FA5
secondary
#6CC55B
accent
#EB3D59
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F1FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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