#8F3497#8F3497

#8F3497 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.4% C 0.173 H 324.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8F3497
RGBrgb(143, 52, 151)
HSLhsl(295, 49%, 40%)
HSVhsv(295, 66%, 59%)
CMYKcmyk(5.3%, 65.6%, 0%, 40.8%)
CIE-LABlab(38.78, 51.76, -36.20)
CIE-LCHlch(38.78, 63.16, 325.03°)
OKLaboklab(49.45% 0.1405 -0.1005)
OKLCHoklch(49.45% 0.173 324.4)
XYZxyz(18.1411, 10.5311, 30.3493)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3497 #3C9734
analogous
#5E3497 #8F3497 #97346D
triadic
#8F3497 #978F34 #34978F
tetradic
#8F3497 #975E34 #3C9734 #346D97
square
#8F3497 #975E34 #3C9734 #346D97
split-complementary
#8F3497 #6D9734 #34975E
monochromatic
#39153C #642469 #8F3497 #B648C0 #C876D0

Accessibility & contrast

On white

6.76
#8F3497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8F3497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3497
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3497#FFFFFF#000000##FFFFFF
##8F34971.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#455F94
Tritanopia (blue-blind)
#924361
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f3497;
/* rgb */ color: rgb(143, 52, 151);
/* oklch */ color: oklch(49.4% 0.173 324.4);
Tailwind
colors: {
  custom: {
    50: '#b373b6',
    500: '#8f3497',
    950: '#000000',
  },
}
SCSS
$custom: #8f3497;
$custom-light: #b373b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3497",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 295.152,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49445,
    "c": 0.17276,
    "h": 324.4
  },
  "luminance": 0.1053
}

Semantic roles & 50–950 ramp

primary
#8F3497
secondary
#75B86F
accent
#D84F5B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F3497

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

Preview Lab → · Contrast checker → · Palette generator →

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