#8F3DA3#8F3DA3

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

Color values

HEX#8F3DA3
RGBrgb(143, 61, 163)
HSLhsl(288, 46%, 44%)
HSVhsv(288, 63%, 64%)
CMYKcmyk(12.3%, 62.6%, 0%, 36.1%)
CIE-LABlab(40.93, 50.03, -40.00)
CIE-LCHlch(40.93, 64.06, 321.36°)
OKLaboklab(51.22% 0.1298 -0.1117)
OKLCHoklch(51.22% 0.171 319.3)
XYZxyz(19.6064, 11.8223, 35.8924)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DA3 #51A33D
analogous
#5C3DA3 #8F3DA3 #A33D84
triadic
#8F3DA3 #A38F3D #3DA38F
tetradic
#8F3DA3 #A35C3D #51A33D #3D84A3
square
#8F3DA3 #A35C3D #51A33D #3D84A3
split-complementary
#8F3DA3 #84A33D #3DA35C
monochromatic
#411C4A #682C76 #8F3DA3 #AE5BC2 #C488D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F3DA3#FFFFFF#000000##FFFFFF
##8F3DA31.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225BA6
Deuteranopia (green-blind)
#4463A0
Tritanopia (blue-blind)
#8F4E6A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f3da3;
/* rgb */ color: rgb(143, 61, 163);
/* oklch */ color: oklch(51.2% 0.171 319.3);
Tailwind
colors: {
  custom: {
    50: '#b378bf',
    500: '#8f3da3',
    950: '#000000',
  },
}
SCSS
$custom: #8f3da3;
$custom-light: #b378bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3da3",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 163
  },
  "hsl": {
    "h": 288.235,
    "s": 45.536,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51224,
    "c": 0.1712,
    "h": 319.3
  },
  "luminance": 0.11821
}

Semantic roles & 50–950 ramp

primary
#8F3DA3
secondary
#8BBD7F
accent
#D5536C
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8F3DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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