#8F56BE#8F56BE

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

Color values

HEX#8F56BE
RGBrgb(143, 86, 190)
HSLhsl(273, 44%, 54%)
HSVhsv(273, 55%, 75%)
CMYKcmyk(24.7%, 54.7%, 0%, 25.5%)
CIE-LABlab(47.25, 43.16, -45.83)
CIE-LCHlch(47.25, 62.95, 313.28°)
OKLaboklab(56.34% 0.0981 -0.1288)
OKLCHoklch(56.34% 0.162 307.3)
XYZxyz(23.9479, 16.2132, 50.5731)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F56BE #85BE56
analogous
#5B56BE #8F56BE #BE56B9
triadic
#8F56BE #BE8F56 #56BE8F
tetradic
#8F56BE #BE5B56 #85BE56 #56B9BE
square
#8F56BE #BE5B56 #85BE56 #56B9BE
split-complementary
#8F56BE #B9BE56 #56BE5B
monochromatic
#502B6F #703C9B #8F56BE #AC82CF #CAAEE0

Accessibility & contrast

On white

4.95
#8F56BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8F56BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F56BE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F56BE#FFFFFF#000000##FFFFFF
##8F56BE1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346EC1
Deuteranopia (green-blind)
#4771BB
Tritanopia (blue-blind)
#886982
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f56be;
/* rgb */ color: rgb(143, 86, 190);
/* oklch */ color: oklch(56.3% 0.162 307.3);
Tailwind
colors: {
  custom: {
    50: '#b288d2',
    500: '#8f56be',
    950: '#000000',
  },
}
SCSS
$custom: #8f56be;
$custom-light: #b288d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f56be",
  "rgb": {
    "r": 143,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 272.885,
    "s": 44.444,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56344,
    "c": 0.16191,
    "h": 307.3
  },
  "luminance": 0.16213
}

Semantic roles & 50–950 ramp

primary
#8F56BE
secondary
#B6CEA2
accent
#D4548E
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8F56BE

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

Preview Lab → · Contrast checker → · Palette generator →

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