#8F2FA4#8F2FA4

#8F2FA4 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.7% C 0.191 H 319.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8F2FA4
RGBrgb(143, 47, 164)
HSLhsl(289, 55%, 41%)
HSVhsv(289, 71%, 64%)
CMYKcmyk(12.8%, 71.3%, 0%, 35.7%)
CIE-LABlab(38.82, 56.29, -43.97)
CIE-LCHlch(38.82, 71.43, 322.01°)
OKLaboklab(49.72% 0.1459 -0.1232)
OKLCHoklch(49.72% 0.191 319.8)
XYZxyz(19.0442, 10.5539, 36.1487)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FA4 #44A42F
analogous
#552FA4 #8F2FA4 #A42F7F
triadic
#8F2FA4 #A48F2F #2FA48F
tetradic
#8F2FA4 #A4552F #44A42F #2F7FA4
square
#8F2FA4 #A4552F #44A42F #2F7FA4
split-complementary
#8F2FA4 #7FA42F #2FA455
monochromatic
#3C1445 #662174 #8F2FA4 #B246CA #C676D8

Accessibility & contrast

On white

6.75
#8F2FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8F2FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FA4
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FA4#FFFFFF#000000##FFFFFF
##8F2FA41.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#395FA1
Tritanopia (blue-blind)
#8F4566
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f2fa4;
/* rgb */ color: rgb(143, 47, 164);
/* oklch */ color: oklch(49.7% 0.191 319.8);
Tailwind
colors: {
  custom: {
    50: '#b370bf',
    500: '#8f2fa4',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fa4;
$custom-light: #b370bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fa4",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 289.231,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49722,
    "c": 0.19089,
    "h": 319.8
  },
  "luminance": 0.10553
}

Semantic roles & 50–950 ramp

primary
#8F2FA4
secondary
#7EC06F
accent
#DF4964
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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