#8F3CA2#8F3CA2

#8F3CA2 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.0% C 0.172 H 319.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8F3CA2
RGBrgb(143, 60, 162)
HSLhsl(289, 46%, 44%)
HSVhsv(289, 63%, 64%)
CMYKcmyk(11.7%, 63%, 0%, 36.5%)
CIE-LABlab(40.70, 50.30, -39.76)
CIE-LCHlch(40.70, 64.12, 321.67°)
OKLaboklab(51.04% 0.131 -0.111)
OKLCHoklch(51.04% 0.172 319.7)
XYZxyz(19.4643, 11.6809, 35.4048)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CA2 #4FA23C
analogous
#5C3CA2 #8F3CA2 #A23C82
triadic
#8F3CA2 #A28F3C #3CA28F
tetradic
#8F3CA2 #A25C3C #4FA23C #3C82A2
square
#8F3CA2 #A25C3C #4FA23C #3C82A2
split-complementary
#8F3CA2 #82A23C #3CA25C
monochromatic
#401B49 #682B75 #8F3CA2 #AE59C2 #C486D2

Accessibility & contrast

On white

6.29
#8F3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8F3CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CA2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CA2#FFFFFF#000000##FFFFFF
##8F3CA21.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA5
Deuteranopia (green-blind)
#44639F
Tritanopia (blue-blind)
#904D69
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f3ca2;
/* rgb */ color: rgb(143, 60, 162);
/* oklch */ color: oklch(51.0% 0.172 319.7);
Tailwind
colors: {
  custom: {
    50: '#b377be',
    500: '#8f3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ca2;
$custom-light: #b377be;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ca2",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 288.824,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51041,
    "c": 0.17168,
    "h": 319.7
  },
  "luminance": 0.1168
}

Semantic roles & 50–950 ramp

primary
#8F3CA2
secondary
#89BC7D
accent
#D6526B
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8F3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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