#8960BF#8960BF

#8960BF is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.4% C 0.146 H 301.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8960BF
RGBrgb(137, 96, 191)
HSLhsl(266, 43%, 56%)
HSVhsv(266, 50%, 75%)
CMYKcmyk(28.3%, 49.7%, 0%, 25.1%)
CIE-LABlab(48.82, 36.21, -43.96)
CIE-LCHlch(48.82, 56.96, 309.48°)
OKLaboklab(57.37% 0.077 -0.1236)
OKLCHoklch(57.37% 0.146 301.9)
XYZxyz(23.9012, 17.4457, 51.3883)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8960BF #96BF60
analogous
#6067BF #8960BF #B960BF
triadic
#8960BF #BF8960 #60BF89
tetradic
#8960BF #BF6067 #96BF60 #60BFB9
square
#8960BF #BF6067 #96BF60 #60BFB9
split-complementary
#8960BF #BFB960 #67BF60
monochromatic
#4E2F75 #6A41A1 #8960BF #A98CD1 #CAB7E2

Accessibility & contrast

On white

4.68
#8960BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#8960BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8960BF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8960BF#FFFFFF#000000##FFFFFF
##8960BF1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4273C2
Deuteranopia (green-blind)
#4D74BD
Tritanopia (blue-blind)
#7F7187
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8960bf;
/* rgb */ color: rgb(137, 96, 191);
/* oklch */ color: oklch(57.4% 0.146 301.9);
Tailwind
colors: {
  custom: {
    50: '#ae8ed3',
    500: '#8960bf',
    950: '#000000',
  },
}
SCSS
$custom: #8960bf;
$custom-light: #ae8ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#8960bf",
  "rgb": {
    "r": 137,
    "g": 96,
    "b": 191
  },
  "hsl": {
    "h": 265.895,
    "s": 42.601,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5737,
    "c": 0.1456,
    "h": 301.9
  },
  "luminance": 0.17446
}

Semantic roles & 50–950 ramp

primary
#8960BF
secondary
#C0D1AA
accent
#D2559C
background
#FAF8FD
surface
#F5F0FA
border
#CFCBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8960BF

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

Preview Lab → · Contrast checker → · Palette generator →

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