#8F1FB2#8F1FB2

#8F1FB2 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.4% C 0.219 H 316.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8F1FB2
RGBrgb(143, 31, 178)
HSLhsl(286, 70%, 41%)
HSVhsv(286, 83%, 70%)
CMYKcmyk(19.7%, 82.6%, 0%, 30.2%)
CIE-LABlab(37.90, 64.31, -53.80)
CIE-LCHlch(37.90, 83.85, 320.09°)
OKLaboklab(49.37% 0.1578 -0.1519)
OKLCHoklch(49.37% 0.219 316.1)
XYZxyz(19.8523, 10.0348, 43.0020)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1FB2 #42B21F
analogous
#451FB2 #8F1FB2 #B21F8B
triadic
#8F1FB2 #B28F1F #1FB28F
tetradic
#8F1FB2 #B2451F #42B21F #1F8BB2
square
#8F1FB2 #B2451F #42B21F #1F8BB2
split-complementary
#8F1FB2 #8BB21F #1FB245
monochromatic
#3B0D4A #65167E #8F1FB2 #B333DB #C767E5

Accessibility & contrast

On white

6.98
#8F1FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8F1FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F1FB2
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1FB2#FFFFFF#000000##FFFFFF
##8F1FB21.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#1B5CAF
Tritanopia (blue-blind)
#8C436B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f1fb2;
/* rgb */ color: rgb(143, 31, 178);
/* oklch */ color: oklch(49.4% 0.219 316.1);
Tailwind
colors: {
  custom: {
    50: '#b46bca',
    500: '#8f1fb2',
    950: '#000000',
  },
}
SCSS
$custom: #8f1fb2;
$custom-light: #b46bca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1fb2",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 178
  },
  "hsl": {
    "h": 285.714,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49374,
    "c": 0.21902,
    "h": 316.1
  },
  "luminance": 0.10034
}

Semantic roles & 50–950 ramp

primary
#8F1FB2
secondary
#7BCA63
accent
#ED3B65
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120713
muted
#817A82

Preview Lab

Preview with #8F1FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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