#8F59BC#8F59BC

#8F59BC is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.7% C 0.155 H 307.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8F59BC
RGBrgb(143, 89, 188)
HSLhsl(273, 42%, 54%)
HSVhsv(273, 53%, 74%)
CMYKcmyk(23.9%, 52.7%, 0%, 26.3%)
CIE-LABlab(47.77, 41.04, -43.84)
CIE-LCHlch(47.77, 60.06, 313.11°)
OKLaboklab(56.69% 0.0939 -0.123)
OKLCHoklch(56.69% 0.155 307.4)
XYZxyz(23.9753, 16.6155, 49.5113)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F59BC #86BC59
analogous
#5E59BC #8F59BC #BC59B8
triadic
#8F59BC #BC8F59 #59BC8F
tetradic
#8F59BC #BC5E59 #86BC59 #59B8BC
square
#8F59BC #BC5E59 #86BC59 #59B8BC
split-complementary
#8F59BC #B8BC59 #59BC5E
monochromatic
#502C6E #703E9A #8F59BC #AC85CE #CAB0DF

Accessibility & contrast

On white

4.86
#8F59BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8F59BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F59BC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F59BC#FFFFFF#000000##FFFFFF
##8F59BC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6FBF
Deuteranopia (green-blind)
#4C72BA
Tritanopia (blue-blind)
#886B82
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f59bc;
/* rgb */ color: rgb(143, 89, 188);
/* oklch */ color: oklch(56.7% 0.155 307.4);
Tailwind
colors: {
  custom: {
    50: '#b28ad1',
    500: '#8f59bc',
    950: '#000000',
  },
}
SCSS
$custom: #8f59bc;
$custom-light: #b28ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f59bc",
  "rgb": {
    "r": 143,
    "g": 89,
    "b": 188
  },
  "hsl": {
    "h": 272.727,
    "s": 42.489,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5669,
    "c": 0.15478,
    "h": 307.4
  },
  "luminance": 0.16615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F59BC

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

Preview Lab → · Contrast checker → · Palette generator →

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