#8F5FA5#8F5FA5

#8F5FA5 is a mid, moderate purple. Relative luminance 0.167; OKLCH L 56.4% C 0.117 H 314.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8F5FA5
RGBrgb(143, 95, 165)
HSLhsl(281, 28%, 51%)
HSVhsv(281, 42%, 65%)
CMYKcmyk(13.3%, 42.4%, 0%, 35.3%)
CIE-LABlab(47.93, 32.40, -30.15)
CIE-LCHlch(47.93, 44.26, 317.06°)
OKLaboklab(56.43% 0.0821 -0.0833)
OKLCHoklch(56.43% 0.117 314.6)
XYZxyz(22.2104, 16.7412, 37.6514)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5FA5 #75A55F
analogous
#6C5FA5 #8F5FA5 #A55F98
triadic
#8F5FA5 #A58F5F #5FA58F
tetradic
#8F5FA5 #A56C5F #75A55F #5F98A5
square
#8F5FA5 #A56C5F #75A55F #5F98A5
split-complementary
#8F5FA5 #98A55F #5FA56C
monochromatic
#4C3258 #6E487F #8F5FA5 #AA86BB #C6ADD1

Accessibility & contrast

On white

4.83
#8F5FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8F5FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5FA5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5FA5#FFFFFF#000000##FFFFFF
##8F5FA51.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526FA8
Deuteranopia (green-blind)
#5F73A3
Tritanopia (blue-blind)
#8E697A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f5fa5;
/* rgb */ color: rgb(143, 95, 165);
/* oklch */ color: oklch(56.4% 0.117 314.6);
Tailwind
colors: {
  custom: {
    50: '#b18dc0',
    500: '#8f5fa5',
    950: '#000000',
  },
}
SCSS
$custom: #8f5fa5;
$custom-light: #b18dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5fa5",
  "rgb": {
    "r": 143,
    "g": 95,
    "b": 165
  },
  "hsl": {
    "h": 281.143,
    "s": 28,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5643,
    "c": 0.117,
    "h": 314.6
  },
  "luminance": 0.16741
}

Semantic roles & 50–950 ramp

primary
#8F5FA5
secondary
#AABFA0
accent
#C46382
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #8F5FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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