#8F56BB#8F56BB

#8F56BB is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.2% C 0.158 H 308.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8F56BB
RGBrgb(143, 86, 187)
HSLhsl(274, 43%, 54%)
HSVhsv(274, 54%, 73%)
CMYKcmyk(23.5%, 54%, 0%, 26.7%)
CIE-LABlab(47.08, 42.45, -44.36)
CIE-LCHlch(47.08, 61.40, 313.74°)
OKLaboklab(56.16% 0.0979 -0.1245)
OKLCHoklch(56.16% 0.158 308.2)
XYZxyz(23.6233, 16.0834, 48.8640)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F56BB #82BB56
analogous
#5C56BB #8F56BB #BB56B4
triadic
#8F56BB #BB8F56 #56BB8F
tetradic
#8F56BB #BB5C56 #82BB56 #56B4BB
square
#8F56BB #BB5C56 #82BB56 #56B4BB
split-complementary
#8F56BB #B4BB56 #56BB5C
monochromatic
#4F2B6B #703D97 #8F56BB #AC82CD #C9ADDE

Accessibility & contrast

On white

4.98
#8F56BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8F56BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F56BB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F56BB#FFFFFF#000000##FFFFFF
##8F56BB1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376DBE
Deuteranopia (green-blind)
#4A70B8
Tritanopia (blue-blind)
#896880
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f56bb;
/* rgb */ color: rgb(143, 86, 187);
/* oklch */ color: oklch(56.2% 0.158 308.2);
Tailwind
colors: {
  custom: {
    50: '#b288d0',
    500: '#8f56bb',
    950: '#000000',
  },
}
SCSS
$custom: #8f56bb;
$custom-light: #b288d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f56bb",
  "rgb": {
    "r": 143,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 273.861,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.1584,
    "h": 308.2
  },
  "luminance": 0.16083
}

Semantic roles & 50–950 ramp

primary
#8F56BB
secondary
#B4CCA1
accent
#D2558C
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8F56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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