#8F3597#8F3597

#8F3597 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.6% C 0.171 H 324.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8F3597
RGBrgb(143, 53, 151)
HSLhsl(295, 48%, 40%)
HSVhsv(295, 65%, 59%)
CMYKcmyk(5.3%, 64.9%, 0%, 40.8%)
CIE-LABlab(38.94, 51.33, -35.95)
CIE-LCHlch(38.94, 62.67, 324.99°)
OKLaboklab(49.56% 0.1393 -0.0998)
OKLCHoklch(49.56% 0.171 324.4)
XYZxyz(18.1862, 10.6213, 30.3644)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3597 #3D9735
analogous
#5E3597 #8F3597 #97356E
triadic
#8F3597 #978F35 #35978F
tetradic
#8F3597 #975E35 #3D9735 #356E97
square
#8F3597 #975E35 #3D9735 #356E97
split-complementary
#8F3597 #6E9735 #35975E
monochromatic
#39153C #64256A #8F3597 #B64ABF #C877CF

Accessibility & contrast

On white

6.72
#8F3597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8F3597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3597
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3597#FFFFFF#000000##FFFFFF
##8F35971.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22559A
Deuteranopia (green-blind)
#465F94
Tritanopia (blue-blind)
#924461
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f3597;
/* rgb */ color: rgb(143, 53, 151);
/* oklch */ color: oklch(49.6% 0.171 324.4);
Tailwind
colors: {
  custom: {
    50: '#b373b6',
    500: '#8f3597',
    950: '#000000',
  },
}
SCSS
$custom: #8f3597;
$custom-light: #b373b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3597",
  "rgb": {
    "r": 143,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 295.102,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.49558,
    "c": 0.17137,
    "h": 324.4
  },
  "luminance": 0.1062
}

Semantic roles & 50–950 ramp

primary
#8F3597
secondary
#76B870
accent
#D8505B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F3597

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

Preview Lab → · Contrast checker → · Palette generator →

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