#8F3DA2#8F3DA2

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

Color values

HEX#8F3DA2
RGBrgb(143, 61, 162)
HSLhsl(289, 45%, 44%)
HSVhsv(289, 62%, 64%)
CMYKcmyk(11.7%, 62.3%, 0%, 36.5%)
CIE-LABlab(40.87, 49.83, -39.49)
CIE-LCHlch(40.87, 63.58, 321.60°)
OKLaboklab(51.16% 0.1298 -0.1102)
OKLCHoklch(51.16% 0.17 319.7)
XYZxyz(19.5172, 11.7866, 35.4224)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DA2 #50A23D
analogous
#5C3DA2 #8F3DA2 #A23D82
triadic
#8F3DA2 #A28F3D #3DA28F
tetradic
#8F3DA2 #A25C3D #50A23D #3D82A2
square
#8F3DA2 #A25C3D #50A23D #3D82A2
split-complementary
#8F3DA2 #82A23D #3DA25C
monochromatic
#411C49 #682C76 #8F3DA2 #AE5BC1 #C487D2

Accessibility & contrast

On white

6.26
#8F3DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F3DA2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DA2#FFFFFF#000000##FFFFFF
##8F3DA21.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235BA5
Deuteranopia (green-blind)
#45639F
Tritanopia (blue-blind)
#8F4E6A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f3da2;
/* rgb */ color: rgb(143, 61, 162);
/* oklch */ color: oklch(51.2% 0.170 319.7);
Tailwind
colors: {
  custom: {
    50: '#b378be',
    500: '#8f3da2',
    950: '#000000',
  },
}
SCSS
$custom: #8f3da2;
$custom-light: #b378be;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3da2",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 162
  },
  "hsl": {
    "h": 288.713,
    "s": 45.291,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51164,
    "c": 0.17022,
    "h": 319.7
  },
  "luminance": 0.11786
}

Semantic roles & 50–950 ramp

primary
#8F3DA2
secondary
#8ABC7E
accent
#D5536B
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8F3DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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