#8F3CA5#8F3CA5

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

Color values

HEX#8F3CA5
RGBrgb(143, 60, 165)
HSLhsl(287, 47%, 44%)
HSVhsv(287, 64%, 65%)
CMYKcmyk(13.3%, 63.6%, 0%, 35.3%)
CIE-LABlab(40.88, 50.91, -41.28)
CIE-LCHlch(40.88, 65.54, 320.96°)
OKLaboklab(51.22% 0.131 -0.1154)
OKLCHoklch(51.22% 0.175 318.6)
XYZxyz(19.7342, 11.7888, 36.8260)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CA5 #52A53C
analogous
#5B3CA5 #8F3CA5 #A53C87
triadic
#8F3CA5 #A58F3C #3CA58F
tetradic
#8F3CA5 #A55B3C #52A53C #3C87A5
square
#8F3CA5 #A55B3C #52A53C #3C87A5
split-complementary
#8F3CA5 #87A53C #3CA55B
monochromatic
#411B4B #682C78 #8F3CA5 #AD5BC3 #C488D4

Accessibility & contrast

On white

6.25
#8F3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8F3CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CA5
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CA5#FFFFFF#000000##FFFFFF
##8F3CA51.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5BA8
Deuteranopia (green-blind)
#4263A2
Tritanopia (blue-blind)
#8F4E6B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f3ca5;
/* rgb */ color: rgb(143, 60, 165);
/* oklch */ color: oklch(51.2% 0.175 318.6);
Tailwind
colors: {
  custom: {
    50: '#b377c0',
    500: '#8f3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ca5;
$custom-light: #b377c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ca5",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 287.429,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51223,
    "c": 0.1746,
    "h": 318.6
  },
  "luminance": 0.11788
}

Semantic roles & 50–950 ramp

primary
#8F3CA5
secondary
#8CBE7F
accent
#D6516D
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8F3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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