#8F59BB#8F59BB

#8F59BB is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.6% C 0.154 H 307.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8F59BB
RGBrgb(143, 89, 187)
HSLhsl(273, 42%, 54%)
HSVhsv(273, 52%, 73%)
CMYKcmyk(23.5%, 52.4%, 0%, 26.7%)
CIE-LABlab(47.72, 40.81, -43.35)
CIE-LCHlch(47.72, 59.54, 313.27°)
OKLaboklab(56.63% 0.0938 -0.1216)
OKLCHoklch(56.63% 0.154 307.7)
XYZxyz(23.8679, 16.5725, 48.9455)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F59BB #85BB59
analogous
#5E59BB #8F59BB #BB59B6
triadic
#8F59BB #BB8F59 #59BB8F
tetradic
#8F59BB #BB5E59 #85BB59 #59B6BB
square
#8F59BB #BB5E59 #85BB59 #59B6BB
split-complementary
#8F59BB #B6BB59 #59BB5E
monochromatic
#502D6D #703E98 #8F59BB #AC84CD #CAB0DF

Accessibility & contrast

On white

4.87
#8F59BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8F59BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F59BB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F59BB#FFFFFF#000000##FFFFFF
##8F59BB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6FBE
Deuteranopia (green-blind)
#4D72B9
Tritanopia (blue-blind)
#896A82
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f59bb;
/* rgb */ color: rgb(143, 89, 187);
/* oklch */ color: oklch(56.6% 0.154 307.7);
Tailwind
colors: {
  custom: {
    50: '#b28ad0',
    500: '#8f59bb',
    950: '#000000',
  },
}
SCSS
$custom: #8f59bb;
$custom-light: #b28ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f59bb",
  "rgb": {
    "r": 143,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 273.061,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56632,
    "c": 0.15359,
    "h": 307.7
  },
  "luminance": 0.16572
}

Semantic roles & 50–950 ramp

primary
#8F59BB
secondary
#B6CDA3
accent
#D2568E
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8F59BB

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

Preview Lab → · Contrast checker → · Palette generator →

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