#8F5097#8F5097

#8F5097 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.2% C 0.128 H 322.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8F5097
RGBrgb(143, 80, 151)
HSLhsl(293, 31%, 45%)
HSVhsv(293, 47%, 59%)
CMYKcmyk(5.3%, 47%, 0%, 40.8%)
CIE-LABlab(43.96, 37.85, -28.04)
CIE-LCHlch(43.96, 47.11, 323.47°)
OKLaboklab(53.25% 0.1022 -0.0772)
OKLCHoklch(53.25% 0.128 322.9)
XYZxyz(19.7817, 13.8122, 30.8962)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5097 #589750
analogous
#6B5097 #8F5097 #97507C
triadic
#8F5097 #978F50 #50978F
tetradic
#8F5097 #976B50 #589750 #507C97
square
#8F5097 #976B50 #589750 #507C97
split-complementary
#8F5097 #7C9750 #50976B
monochromatic
#432647 #693B6F #8F5097 #AC71B4 #C399C9

Accessibility & contrast

On white

5.58
#8F5097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8F5097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5097
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5097#FFFFFF#000000##FFFFFF
##8F50971.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476399
Deuteranopia (green-blind)
#596A95
Tritanopia (blue-blind)
#91596C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f5097;
/* rgb */ color: rgb(143, 80, 151);
/* oklch */ color: oklch(53.2% 0.128 322.9);
Tailwind
colors: {
  custom: {
    50: '#b183b6',
    500: '#8f5097',
    950: '#000000',
  },
}
SCSS
$custom: #8f5097;
$custom-light: #b183b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5097",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 293.239,
    "s": 30.736,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53248,
    "c": 0.12804,
    "h": 322.9
  },
  "luminance": 0.13811
}

Semantic roles & 50–950 ramp

primary
#8F5097
secondary
#92B68D
accent
#C7616C
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #8F5097

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

Preview Lab → · Contrast checker → · Palette generator →

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