#8F2FA3#8F2FA3

#8F2FA3 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.190 H 320.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8F2FA3
RGBrgb(143, 47, 163)
HSLhsl(290, 55%, 41%)
HSVhsv(290, 71%, 64%)
CMYKcmyk(12.3%, 71.2%, 0%, 36.1%)
CIE-LABlab(38.76, 56.10, -43.47)
CIE-LCHlch(38.76, 70.97, 322.23°)
OKLaboklab(49.66% 0.1459 -0.1217)
OKLCHoklch(49.66% 0.19 320.2)
XYZxyz(18.9543, 10.5180, 35.6750)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FA3 #43A32F
analogous
#552FA3 #8F2FA3 #A32F7D
triadic
#8F2FA3 #A38F2F #2FA38F
tetradic
#8F2FA3 #A3552F #43A32F #2F7DA3
square
#8F2FA3 #A3552F #43A32F #2F7DA3
split-complementary
#8F2FA3 #7DA32F #2FA355
monochromatic
#3C1444 #652173 #8F2FA3 #B346CA #C675D7

Accessibility & contrast

On white

6.77
#8F2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8F2FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FA3
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FA3#FFFFFF#000000##FFFFFF
##8F2FA31.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#3A5FA0
Tritanopia (blue-blind)
#904566
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f2fa3;
/* rgb */ color: rgb(143, 47, 163);
/* oklch */ color: oklch(49.7% 0.190 320.2);
Tailwind
colors: {
  custom: {
    50: '#b370bf',
    500: '#8f2fa3',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fa3;
$custom-light: #b370bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fa3",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 289.655,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49657,
    "c": 0.19,
    "h": 320.2
  },
  "luminance": 0.10517
}

Semantic roles & 50–950 ramp

primary
#8F2FA3
secondary
#7DBF6F
accent
#DF4963
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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