#8F3EA2#8F3EA2

#8F3EA2 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.3% C 0.169 H 319.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8F3EA2
RGBrgb(143, 62, 162)
HSLhsl(289, 45%, 44%)
HSVhsv(289, 62%, 64%)
CMYKcmyk(11.7%, 61.7%, 0%, 36.5%)
CIE-LABlab(41.05, 49.36, -39.22)
CIE-LCHlch(41.05, 63.04, 321.53°)
OKLaboklab(51.29% 0.1285 -0.1094)
OKLCHoklch(51.29% 0.169 319.6)
XYZxyz(19.5711, 11.8944, 35.4404)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3EA2 #51A23E
analogous
#5D3EA2 #8F3EA2 #A23E83
triadic
#8F3EA2 #A28F3E #3EA28F
tetradic
#8F3EA2 #A25D3E #51A23E #3E83A2
square
#8F3EA2 #A25D3E #51A23E #3E83A2
split-complementary
#8F3EA2 #83A23E #3EA25D
monochromatic
#411C49 #682D76 #8F3EA2 #AE5CC1 #C489D2

Accessibility & contrast

On white

6.22
#8F3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8F3EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3EA2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3EA2#FFFFFF#000000##FFFFFF
##8F3EA21.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255BA5
Deuteranopia (green-blind)
#45649F
Tritanopia (blue-blind)
#8F4E6A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f3ea2;
/* rgb */ color: rgb(143, 62, 162);
/* oklch */ color: oklch(51.3% 0.169 319.6);
Tailwind
colors: {
  custom: {
    50: '#b278be',
    500: '#8f3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ea2;
$custom-light: #b278be;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ea2",
  "rgb": {
    "r": 143,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 288.6,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5129,
    "c": 0.16875,
    "h": 319.6
  },
  "luminance": 0.11894
}

Semantic roles & 50–950 ramp

primary
#8F3EA2
secondary
#8BBC80
accent
#D4536C
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8F3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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