#8F3CA4#8F3CA4

#8F3CA4 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.2% C 0.174 H 319.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8F3CA4
RGBrgb(143, 60, 164)
HSLhsl(288, 46%, 44%)
HSVhsv(288, 63%, 64%)
CMYKcmyk(12.8%, 63.4%, 0%, 35.7%)
CIE-LABlab(40.82, 50.70, -40.78)
CIE-LCHlch(40.82, 65.06, 321.19°)
OKLaboklab(51.16% 0.131 -0.1139)
OKLCHoklch(51.16% 0.174 319)
XYZxyz(19.6435, 11.7526, 36.3485)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CA4 #51A43C
analogous
#5B3CA4 #8F3CA4 #A43C85
triadic
#8F3CA4 #A48F3C #3CA48F
tetradic
#8F3CA4 #A45B3C #51A43C #3C85A4
square
#8F3CA4 #A45B3C #51A43C #3C85A4
split-complementary
#8F3CA4 #85A43C #3CA45B
monochromatic
#411B4A #682C77 #8F3CA4 #AE5AC3 #C487D3

Accessibility & contrast

On white

6.27
#8F3CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8F3CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CA4
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CA4#FFFFFF#000000##FFFFFF
##8F3CA41.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5BA7
Deuteranopia (green-blind)
#4263A1
Tritanopia (blue-blind)
#8F4E6A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f3ca4;
/* rgb */ color: rgb(143, 60, 164);
/* oklch */ color: oklch(51.2% 0.174 319.0);
Tailwind
colors: {
  custom: {
    50: '#b377bf',
    500: '#8f3ca4',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ca4;
$custom-light: #b377bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ca4",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 287.885,
    "s": 46.429,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51162,
    "c": 0.17363,
    "h": 319
  },
  "luminance": 0.11752
}

Semantic roles & 50–950 ramp

primary
#8F3CA4
secondary
#8BBD7E
accent
#D6526C
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8F3CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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