#8F3A8A#8F3A8A

#8F3A8A is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.4% C 0.152 H 329.9°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8F3A8A
RGBrgb(143, 58, 138)
HSLhsl(304, 42%, 39%)
HSVhsv(304, 59%, 56%)
CMYKcmyk(0%, 59.4%, 3.5%, 43.9%)
CIE-LABlab(39.07, 46.67, -27.82)
CIE-LCHlch(39.07, 54.33, 329.20°)
OKLaboklab(49.44% 0.1319 -0.0763)
OKLCHoklch(49.44% 0.152 329.9)
XYZxyz(17.4281, 10.7019, 25.1876)
Luminance0.1070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3A8A #3A8F3F
analogous
#6A3A8F #8F3A8A #8F3A60
triadic
#8F3A8A #8A8F3A #3A8A8F
tetradic
#8F3A8A #8F6A3A #3A8F3F #3A608F
square
#8F3A8A #8F6A3A #3A8F3F #3A608F
split-complementary
#8F3A8A #608F3A #3A8F6A
monochromatic
#381736 #632860 #8F3A8A #B74FB1 #C97AC5

Accessibility & contrast

On white

6.69
#8F3A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8F3A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3A8A
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3A8A#FFFFFF#000000##FFFFFF
##8F3A8A1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558C
Deuteranopia (green-blind)
#506088
Tritanopia (blue-blind)
#94435C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f3a8a;
/* rgb */ color: rgb(143, 58, 138);
/* oklch */ color: oklch(49.4% 0.152 329.9);
Tailwind
colors: {
  custom: {
    50: '#b275ac',
    500: '#8f3a8a',
    950: '#000000',
  },
}
SCSS
$custom: #8f3a8a;
$custom-light: #b275ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3a8a",
  "rgb": {
    "r": 143,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 303.529,
    "s": 42.289,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49435,
    "c": 0.15238,
    "h": 329.9
  },
  "luminance": 0.10701
}

Semantic roles & 50–950 ramp

primary
#8F3A8A
secondary
#72B376
accent
#D25D56
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8F3A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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