#8F3DA8#8F3DA8

#8F3DA8 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.5% C 0.176 H 317.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8F3DA8
RGBrgb(143, 61, 168)
HSLhsl(286, 47%, 45%)
HSVhsv(286, 64%, 66%)
CMYKcmyk(14.9%, 63.7%, 0%, 34.1%)
CIE-LABlab(41.22, 51.05, -42.52)
CIE-LCHlch(41.22, 66.44, 320.21°)
OKLaboklab(51.53% 0.1298 -0.119)
OKLCHoklch(51.53% 0.176 317.5)
XYZxyz(20.0633, 12.0051, 38.2986)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DA8 #56A83D
analogous
#593DA8 #8F3DA8 #A83D8C
triadic
#8F3DA8 #A88F3D #3DA88F
tetradic
#8F3DA8 #A8593D #56A83D #3D8CA8
square
#8F3DA8 #A8593D #56A83D #3D8CA8
split-complementary
#8F3DA8 #8CA83D #3DA859
monochromatic
#431C4E #692D7B #8F3DA8 #AC5EC4 #C38BD5

Accessibility & contrast

On white

6.18
#8F3DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8F3DA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DA8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DA8#FFFFFF#000000##FFFFFF
##8F3DA81.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5CAB
Deuteranopia (green-blind)
#4064A5
Tritanopia (blue-blind)
#8E506D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f3da8;
/* rgb */ color: rgb(143, 61, 168);
/* oklch */ color: oklch(51.5% 0.176 317.5);
Tailwind
colors: {
  custom: {
    50: '#b378c2',
    500: '#8f3da8',
    950: '#000000',
  },
}
SCSS
$custom: #8f3da8;
$custom-light: #b378c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3da8",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 168
  },
  "hsl": {
    "h": 285.981,
    "s": 46.725,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5153,
    "c": 0.17612,
    "h": 317.5
  },
  "luminance": 0.12004
}

Semantic roles & 50–950 ramp

primary
#8F3DA8
secondary
#90BF81
accent
#D65170
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110912
muted
#807B81

Preview Lab

Preview with #8F3DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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