#8959BF#8959BF

#8959BF is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.2% C 0.157 H 303.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8959BF
RGBrgb(137, 89, 191)
HSLhsl(268, 44%, 55%)
HSVhsv(268, 53%, 75%)
CMYKcmyk(28.3%, 53.4%, 0%, 25.1%)
CIE-LABlab(47.27, 40.18, -46.43)
CIE-LCHlch(47.27, 61.40, 310.87°)
OKLaboklab(56.22% 0.0865 -0.1307)
OKLCHoklch(56.22% 0.157 303.5)
XYZxyz(23.2908, 16.2248, 51.1848)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8959BF #8FBF59
analogous
#595CBF #8959BF #BC59BF
triadic
#8959BF #BF8959 #59BF89
tetradic
#8959BF #BF595C #8FBF59 #59BFBC
square
#8959BF #BF595C #8FBF59 #59BFBC
split-complementary
#8959BF #BFBC59 #5CBF59
monochromatic
#4D2C72 #6B3D9E #8959BF #A885D0 #C8B1E1

Accessibility & contrast

On white

4.95
#8959BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8959BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8959BF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8959BF#FFFFFF#000000##FFFFFF
##8959BF1.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)
#366FC2
Deuteranopia (green-blind)
#4570BD
Tritanopia (blue-blind)
#7F6C83
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8959bf;
/* rgb */ color: rgb(137, 89, 191);
/* oklch */ color: oklch(56.2% 0.157 303.5);
Tailwind
colors: {
  custom: {
    50: '#ae89d3',
    500: '#8959bf',
    950: '#000000',
  },
}
SCSS
$custom: #8959bf;
$custom-light: #ae89d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8959bf",
  "rgb": {
    "r": 137,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 268.235,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56221,
    "c": 0.15675,
    "h": 303.5
  },
  "luminance": 0.16225
}

Semantic roles & 50–950 ramp

primary
#8959BF
secondary
#BBCFA4
accent
#D45498
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8959BF

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

Preview Lab → · Contrast checker → · Palette generator →

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