#8F56BD#8F56BD

#8F56BD is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.3% C 0.161 H 307.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8F56BD
RGBrgb(143, 86, 189)
HSLhsl(273, 44%, 54%)
HSVhsv(273, 54%, 74%)
CMYKcmyk(24.3%, 54.5%, 0%, 25.9%)
CIE-LABlab(47.20, 42.92, -45.34)
CIE-LCHlch(47.20, 62.44, 313.43°)
OKLaboklab(56.28% 0.098 -0.1274)
OKLCHoklch(56.28% 0.161 307.6)
XYZxyz(23.8389, 16.1696, 49.9994)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F56BD #84BD56
analogous
#5C56BD #8F56BD #BD56B8
triadic
#8F56BD #BD8F56 #56BD8F
tetradic
#8F56BD #BD5C56 #84BD56 #56B8BD
square
#8F56BD #BD5C56 #84BD56 #56B8BD
split-complementary
#8F56BD #B8BD56 #56BD5C
monochromatic
#502B6E #703C9A #8F56BD #AC82CE #C9AEDF

Accessibility & contrast

On white

4.96
#8F56BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8F56BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F56BD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F56BD#FFFFFF#000000##FFFFFF
##8F56BD1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356EC0
Deuteranopia (green-blind)
#4871BA
Tritanopia (blue-blind)
#886981
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f56bd;
/* rgb */ color: rgb(143, 86, 189);
/* oklch */ color: oklch(56.3% 0.161 307.6);
Tailwind
colors: {
  custom: {
    50: '#b288d1',
    500: '#8f56bd',
    950: '#000000',
  },
}
SCSS
$custom: #8f56bd;
$custom-light: #b288d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f56bd",
  "rgb": {
    "r": 143,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 273.204,
    "s": 43.83,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56284,
    "c": 0.16075,
    "h": 307.6
  },
  "luminance": 0.16169
}

Semantic roles & 50–950 ramp

primary
#8F56BD
secondary
#B5CDA1
accent
#D4548D
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8F56BD

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

Preview Lab → · Contrast checker → · Palette generator →

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