#8F509D#8F509D

#8F509D is a mid, vivid purple. Relative luminance 0.140; OKLCH L 53.6% C 0.134 H 320.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8F509D
RGBrgb(143, 80, 157)
HSLhsl(289, 32%, 46%)
HSVhsv(289, 49%, 62%)
CMYKcmyk(8.9%, 49%, 0%, 38.4%)
CIE-LABlab(44.25, 39.08, -31.18)
CIE-LCHlch(44.25, 49.99, 321.42°)
OKLaboklab(53.56% 0.1032 -0.0862)
OKLCHoklch(53.56% 0.134 320.1)
XYZxyz(20.2814, 14.0121, 33.5280)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F509D #5E9D50
analogous
#69509D #8F509D #9D5085
triadic
#8F509D #9D8F50 #509D8F
tetradic
#8F509D #9D6950 #5E9D50 #50859D
square
#8F509D #9D6950 #5E9D50 #50859D
split-complementary
#8F509D #859D50 #509D69
monochromatic
#45274C #6A3B74 #8F509D #AB73B8 #C39BCC

Accessibility & contrast

On white

5.52
#8F509D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8F509D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F509D
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F509D#FFFFFF#000000##FFFFFF
##8F509D1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4464A0
Deuteranopia (green-blind)
#566B9B
Tritanopia (blue-blind)
#905A6F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f509d;
/* rgb */ color: rgb(143, 80, 157);
/* oklch */ color: oklch(53.6% 0.134 320.1);
Tailwind
colors: {
  custom: {
    50: '#b183ba',
    500: '#8f509d',
    950: '#000000',
  },
}
SCSS
$custom: #8f509d;
$custom-light: #b183ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f509d",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 157
  },
  "hsl": {
    "h": 289.091,
    "s": 32.489,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53556,
    "c": 0.13443,
    "h": 320.1
  },
  "luminance": 0.14011
}

Semantic roles & 50–950 ramp

primary
#8F509D
secondary
#97B990
accent
#C95F72
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #8F509D

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

Preview Lab → · Contrast checker → · Palette generator →

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