#8F3CA6#8F3CA6

#8F3CA6 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.3% C 0.176 H 318.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8F3CA6
RGBrgb(143, 60, 166)
HSLhsl(287, 47%, 44%)
HSVhsv(287, 64%, 65%)
CMYKcmyk(13.9%, 63.9%, 0%, 34.9%)
CIE-LABlab(40.94, 51.11, -41.78)
CIE-LCHlch(40.94, 66.01, 320.73°)
OKLaboklab(51.28% 0.131 -0.1169)
OKLCHoklch(51.28% 0.176 318.3)
XYZxyz(19.8255, 11.8254, 37.3072)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CA6 #53A63C
analogous
#5A3CA6 #8F3CA6 #A63C88
triadic
#8F3CA6 #A68F3C #3CA68F
tetradic
#8F3CA6 #A65A3C #53A63C #3C88A6
square
#8F3CA6 #A65A3C #53A63C #3C88A6
split-complementary
#8F3CA6 #88A63C #3CA65A
monochromatic
#421C4C #682C79 #8F3CA6 #AD5BC4 #C488D4

Accessibility & contrast

On white

6.24
#8F3CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8F3CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CA6
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CA6#FFFFFF#000000##FFFFFF
##8F3CA61.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5BA9
Deuteranopia (green-blind)
#4163A3
Tritanopia (blue-blind)
#8F4E6B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f3ca6;
/* rgb */ color: rgb(143, 60, 166);
/* oklch */ color: oklch(51.3% 0.176 318.3);
Tailwind
colors: {
  custom: {
    50: '#b377c1',
    500: '#8f3ca6',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ca6;
$custom-light: #b377c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ca6",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 286.981,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51284,
    "c": 0.17558,
    "h": 318.3
  },
  "luminance": 0.11825
}

Semantic roles & 50–950 ramp

primary
#8F3CA6
secondary
#8DBE7F
accent
#D7516E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8F3CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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