#8F2FA0#8F2FA0

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

Color values

HEX#8F2FA0
RGBrgb(143, 47, 160)
HSLhsl(291, 55%, 41%)
HSVhsv(291, 71%, 63%)
CMYKcmyk(10.6%, 70.6%, 0%, 37.3%)
CIE-LABlab(38.57, 55.53, -41.96)
CIE-LCHlch(38.57, 69.60, 322.92°)
OKLaboklab(49.47% 0.1461 -0.1173)
OKLCHoklch(49.47% 0.187 321.2)
XYZxyz(18.6887, 10.4117, 34.2762)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FA0 #40A02F
analogous
#562FA0 #8F2FA0 #A02F79
triadic
#8F2FA0 #A08F2F #2FA08F
tetradic
#8F2FA0 #A0562F #40A02F #2F79A0
square
#8F2FA0 #A0562F #40A02F #2F79A0
split-complementary
#8F2FA0 #79A02F #2FA056
monochromatic
#3A1341 #652171 #8F2FA0 #B444C8 #C773D6

Accessibility & contrast

On white

6.81
#8F2FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8F2FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FA0
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FA0#FFFFFF#000000##FFFFFF
##8F2FA01.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A3
Deuteranopia (green-blind)
#3C5E9D
Tritanopia (blue-blind)
#904364
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f2fa0;
/* rgb */ color: rgb(143, 47, 160);
/* oklch */ color: oklch(49.5% 0.187 321.2);
Tailwind
colors: {
  custom: {
    50: '#b370bd',
    500: '#8f2fa0',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fa0;
$custom-light: #b370bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fa0",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 290.973,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49466,
    "c": 0.18732,
    "h": 321.2
  },
  "luminance": 0.10411
}

Semantic roles & 50–950 ramp

primary
#8F2FA0
secondary
#79BE6D
accent
#DE4A60
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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