#8959BC#8959BC

#8959BC is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.0% C 0.153 H 304.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8959BC
RGBrgb(137, 89, 188)
HSLhsl(269, 42%, 54%)
HSVhsv(269, 53%, 74%)
CMYKcmyk(27.1%, 52.7%, 0%, 26.3%)
CIE-LABlab(47.10, 39.44, -44.96)
CIE-LCHlch(47.10, 59.81, 311.26°)
OKLaboklab(56.04% 0.0863 -0.1264)
OKLCHoklch(56.04% 0.153 304.3)
XYZxyz(22.9640, 16.0941, 49.4639)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8959BC #8CBC59
analogous
#595BBC #8959BC #BB59BC
triadic
#8959BC #BC8959 #59BC89
tetradic
#8959BC #BC595B #8CBC59 #59BCBB
square
#8959BC #BC595B #8CBC59 #59BCBB
split-complementary
#8959BC #BCBB59 #5BBC59
monochromatic
#4C2C6E #6B3E9A #8959BC #A885CE #C7B0DF

Accessibility & contrast

On white

4.98
#8959BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8959BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8959BC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8959BC#FFFFFF#000000##FFFFFF
##8959BC1.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)
#386EBF
Deuteranopia (green-blind)
#4770BA
Tritanopia (blue-blind)
#806B82
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8959bc;
/* rgb */ color: rgb(137, 89, 188);
/* oklch */ color: oklch(56.0% 0.153 304.3);
Tailwind
colors: {
  custom: {
    50: '#ae89d1',
    500: '#8959bc',
    950: '#000000',
  },
}
SCSS
$custom: #8959bc;
$custom-light: #ae89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8959bc",
  "rgb": {
    "r": 137,
    "g": 89,
    "b": 188
  },
  "hsl": {
    "h": 269.091,
    "s": 42.489,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5604,
    "c": 0.15307,
    "h": 304.3
  },
  "luminance": 0.16094
}

Semantic roles & 50–950 ramp

primary
#8959BC
secondary
#B9CDA3
accent
#D25696
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8959BC

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

Preview Lab → · Contrast checker → · Palette generator →

#8959BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva