#8F2FAE#8F2FAE

#8F2FAE is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.4% C 0.200 H 316.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8F2FAE
RGBrgb(143, 47, 174)
HSLhsl(285, 57%, 43%)
HSVhsv(285, 73%, 68%)
CMYKcmyk(17.8%, 73%, 0%, 31.8%)
CIE-LABlab(39.46, 58.25, -48.91)
CIE-LCHlch(39.46, 76.06, 319.98°)
OKLaboklab(50.39% 0.145 -0.1376)
OKLCHoklch(50.39% 0.2 316.5)
XYZxyz(19.9830, 10.9295, 41.0932)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FAE #4EAE2F
analogous
#4F2FAE #8F2FAE #AE2F8D
triadic
#8F2FAE #AE8F2F #2FAE8F
tetradic
#8F2FAE #AE4F2F #4EAE2F #2F8DAE
square
#8F2FAE #AE4F2F #4EAE2F #2F8DAE
split-complementary
#8F2FAE #8DAE2F #2FAE4F
monochromatic
#40154E #67227E #8F2FAE #AF4CCF #C47CDC

Accessibility & contrast

On white

6.59
#8F2FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8F2FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FAE
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FAE#FFFFFF#000000##FFFFFF
##8F2FAE1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#2F60AB
Tritanopia (blue-blind)
#8D496C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f2fae;
/* rgb */ color: rgb(143, 47, 174);
/* oklch */ color: oklch(50.4% 0.200 316.5);
Tailwind
colors: {
  custom: {
    50: '#b471c7',
    500: '#8f2fae',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fae;
$custom-light: #b471c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fae",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 285.354,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50385,
    "c": 0.19992,
    "h": 316.5
  },
  "luminance": 0.10929
}

Semantic roles & 50–950 ramp

primary
#8F2FAE
secondary
#88C475
accent
#E1476D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8F2FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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