#8F3FA4#8F3FA4

#8F3FA4 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.5% C 0.169 H 318.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8F3FA4
RGBrgb(143, 63, 164)
HSLhsl(288, 44%, 45%)
HSVhsv(288, 62%, 64%)
CMYKcmyk(12.8%, 61.6%, 0%, 35.7%)
CIE-LABlab(41.34, 49.29, -39.95)
CIE-LCHlch(41.34, 63.45, 320.97°)
OKLaboklab(51.54% 0.1273 -0.1115)
OKLCHoklch(51.54% 0.169 318.8)
XYZxyz(19.8051, 12.0758, 36.4024)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3FA4 #54A43F
analogous
#5D3FA4 #8F3FA4 #A43F86
triadic
#8F3FA4 #A48F3F #3FA48F
tetradic
#8F3FA4 #A45D3F #54A43F #3F86A4
square
#8F3FA4 #A45D3F #54A43F #3F86A4
split-complementary
#8F3FA4 #86A43F #3FA45D
monochromatic
#421D4C #682E78 #8F3FA4 #AD5FC1 #C48BD2

Accessibility & contrast

On white

6.15
#8F3FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8F3FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3FA4
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3FA4#FFFFFF#000000##FFFFFF
##8F3FA41.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255CA7
Deuteranopia (green-blind)
#4564A1
Tritanopia (blue-blind)
#8F506B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f3fa4;
/* rgb */ color: rgb(143, 63, 164);
/* oklch */ color: oklch(51.5% 0.169 318.8);
Tailwind
colors: {
  custom: {
    50: '#b279bf',
    500: '#8f3fa4',
    950: '#000000',
  },
}
SCSS
$custom: #8f3fa4;
$custom-light: #b279bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3fa4",
  "rgb": {
    "r": 143,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 287.525,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51536,
    "c": 0.16923,
    "h": 318.8
  },
  "luminance": 0.12075
}

Semantic roles & 50–950 ramp

primary
#8F3FA4
secondary
#8EBD82
accent
#D4546E
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8F3FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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