#8F3697#8F3697

#8F3697 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.7% C 0.170 H 324.3°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8F3697
RGBrgb(143, 54, 151)
HSLhsl(295, 47%, 40%)
HSVhsv(295, 64%, 59%)
CMYKcmyk(5.3%, 64.2%, 0%, 40.8%)
CIE-LABlab(39.09, 50.89, -35.70)
CIE-LCHlch(39.09, 62.16, 324.95°)
OKLaboklab(49.67% 0.1381 -0.0991)
OKLCHoklch(49.67% 0.17 324.3)
XYZxyz(18.2323, 10.7134, 30.3797)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3697 #3E9736
analogous
#5F3697 #8F3697 #97366E
triadic
#8F3697 #978F36 #36978F
tetradic
#8F3697 #975F36 #3E9736 #366E97
square
#8F3697 #975F36 #3E9736 #366E97
split-complementary
#8F3697 #6E9736 #36975F
monochromatic
#3A163D #64266A #8F3697 #B54BBF #C878CF

Accessibility & contrast

On white

6.68
#8F3697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F3697
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3697#FFFFFF#000000##FFFFFF
##8F36971.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24559A
Deuteranopia (green-blind)
#466094
Tritanopia (blue-blind)
#924462
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f3697;
/* rgb */ color: rgb(143, 54, 151);
/* oklch */ color: oklch(49.7% 0.170 324.3);
Tailwind
colors: {
  custom: {
    50: '#b374b6',
    500: '#8f3697',
    950: '#000000',
  },
}
SCSS
$custom: #8f3697;
$custom-light: #b374b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3697",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 151
  },
  "hsl": {
    "h": 295.052,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49672,
    "c": 0.16996,
    "h": 324.3
  },
  "luminance": 0.10712
}

Semantic roles & 50–950 ramp

primary
#8F3697
secondary
#77B871
accent
#D7515C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8F3697

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

Preview Lab → · Contrast checker → · Palette generator →

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