#8F2FA1#8F2FA1

#8F2FA1 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.188 H 320.9°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8F2FA1
RGBrgb(143, 47, 161)
HSLhsl(291, 55%, 41%)
HSVhsv(291, 71%, 63%)
CMYKcmyk(11.2%, 70.8%, 0%, 36.9%)
CIE-LABlab(38.63, 55.72, -42.47)
CIE-LCHlch(38.63, 70.06, 322.69°)
OKLaboklab(49.53% 0.146 -0.1188)
OKLCHoklch(49.53% 0.188 320.9)
XYZxyz(18.7765, 10.4469, 34.7387)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FA1 #41A12F
analogous
#562FA1 #8F2FA1 #A12F7A
triadic
#8F2FA1 #A18F2F #2FA18F
tetradic
#8F2FA1 #A1562F #41A12F #2F7AA1
square
#8F2FA1 #A1562F #41A12F #2F7AA1
split-complementary
#8F2FA1 #7AA12F #2FA156
monochromatic
#3B1342 #652172 #8F2FA1 #B445C9 #C774D6

Accessibility & contrast

On white

6.80
#8F2FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8F2FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FA1
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FA1#FFFFFF#000000##FFFFFF
##8F2FA11.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#3B5E9E
Tritanopia (blue-blind)
#904465
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f2fa1;
/* rgb */ color: rgb(143, 47, 161);
/* oklch */ color: oklch(49.5% 0.188 320.9);
Tailwind
colors: {
  custom: {
    50: '#b370bd',
    500: '#8f2fa1',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fa1;
$custom-light: #b370bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fa1",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 290.526,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49529,
    "c": 0.18822,
    "h": 320.9
  },
  "luminance": 0.10446
}

Semantic roles & 50–950 ramp

primary
#8F2FA1
secondary
#7ABE6E
accent
#DE4A61
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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