#8F2FAA#8F2FAA

#8F2FAA is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.196 H 317.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8F2FAA
RGBrgb(143, 47, 170)
HSLhsl(287, 57%, 43%)
HSVhsv(287, 72%, 67%)
CMYKcmyk(15.9%, 72.4%, 0%, 33.3%)
CIE-LABlab(39.20, 57.46, -46.95)
CIE-LCHlch(39.20, 74.20, 320.75°)
OKLaboklab(50.12% 0.1454 -0.1319)
OKLCHoklch(50.12% 0.196 317.8)
XYZxyz(19.5989, 10.7758, 39.0700)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FAA #4AAA2F
analogous
#512FAA #8F2FAA #AA2F88
triadic
#8F2FAA #AA8F2F #2FAA8F
tetradic
#8F2FAA #AA512F #4AAA2F #2F88AA
square
#8F2FAA #AA512F #4AAA2F #2F88AA
split-complementary
#8F2FAA #88AA2F #2FAA51
monochromatic
#3E144A #67227A #8F2FAA #B049CD #C579DA

Accessibility & contrast

On white

6.66
#8F2FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8F2FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FAA
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FAA#FFFFFF#000000##FFFFFF
##8F2FAA1.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#345FA7
Tritanopia (blue-blind)
#8E486A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f2faa;
/* rgb */ color: rgb(143, 47, 170);
/* oklch */ color: oklch(50.1% 0.196 317.8);
Tailwind
colors: {
  custom: {
    50: '#b471c4',
    500: '#8f2faa',
    950: '#000000',
  },
}
SCSS
$custom: #8f2faa;
$custom-light: #b471c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2faa",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 286.829,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50116,
    "c": 0.1963,
    "h": 317.8
  },
  "luminance": 0.10775
}

Semantic roles & 50–950 ramp

primary
#8F2FAA
secondary
#84C272
accent
#E04869
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8F2FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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