#8F2FA9#8F2FA9

#8F2FA9 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.195 H 318.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8F2FA9
RGBrgb(143, 47, 169)
HSLhsl(287, 56%, 42%)
HSVhsv(287, 72%, 66%)
CMYKcmyk(15.4%, 72.2%, 0%, 33.7%)
CIE-LABlab(39.14, 57.26, -46.45)
CIE-LCHlch(39.14, 73.74, 320.95°)
OKLaboklab(50.05% 0.1455 -0.1304)
OKLCHoklch(50.05% 0.195 318.1)
XYZxyz(19.5046, 10.7381, 38.5737)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FA9 #49A92F
analogous
#522FA9 #8F2FA9 #A92F86
triadic
#8F2FA9 #A98F2F #2FA98F
tetradic
#8F2FA9 #A9522F #49A92F #2F86A9
square
#8F2FA9 #A9522F #49A92F #2F86A9
split-complementary
#8F2FA9 #86A92F #2FA952
monochromatic
#3E1449 #662279 #8F2FA9 #B049CC #C579DA

Accessibility & contrast

On white

6.67
#8F2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8F2FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FA9
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FA9#FFFFFF#000000##FFFFFF
##8F2FA91.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#345FA6
Tritanopia (blue-blind)
#8E4769
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f2fa9;
/* rgb */ color: rgb(143, 47, 169);
/* oklch */ color: oklch(50.0% 0.195 318.1);
Tailwind
colors: {
  custom: {
    50: '#b371c3',
    500: '#8f2fa9',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fa9;
$custom-light: #b371c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fa9",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 287.213,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5005,
    "c": 0.19539,
    "h": 318.1
  },
  "luminance": 0.10737
}

Semantic roles & 50–950 ramp

primary
#8F2FA9
secondary
#83C272
accent
#E04868
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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