#8960BB#8960BB

#8960BB is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.1% C 0.141 H 303.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8960BB
RGBrgb(137, 96, 187)
HSLhsl(267, 40%, 55%)
HSVhsv(267, 49%, 73%)
CMYKcmyk(26.7%, 48.7%, 0%, 26.7%)
CIE-LABlab(48.60, 35.22, -41.99)
CIE-LCHlch(48.60, 54.81, 309.99°)
OKLaboklab(57.14% 0.0766 -0.1178)
OKLCHoklch(57.14% 0.141 303)
XYZxyz(23.4671, 17.2720, 49.1016)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8960BB #92BB60
analogous
#6064BB #8960BB #B660BB
triadic
#8960BB #BB8960 #60BB89
tetradic
#8960BB #BB6064 #92BB60 #60BBB6
square
#8960BB #BB6064 #92BB60 #60BBB6
split-complementary
#8960BB #BBB660 #64BB60
monochromatic
#4D3070 #6B429B #8960BB #A98BCD #C9B6E0

Accessibility & contrast

On white

4.71
#8960BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8960BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8960BB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8960BB#FFFFFF#000000##FFFFFF
##8960BB1.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4573BE
Deuteranopia (green-blind)
#5073B9
Tritanopia (blue-blind)
#807085
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8960bb;
/* rgb */ color: rgb(137, 96, 187);
/* oklch */ color: oklch(57.1% 0.141 303.0);
Tailwind
colors: {
  custom: {
    50: '#ae8ed0',
    500: '#8960bb',
    950: '#000000',
  },
}
SCSS
$custom: #8960bb;
$custom-light: #ae8ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8960bb",
  "rgb": {
    "r": 137,
    "g": 96,
    "b": 187
  },
  "hsl": {
    "h": 267.033,
    "s": 40.088,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57139,
    "c": 0.1405,
    "h": 303
  },
  "luminance": 0.17272
}

Semantic roles & 50–950 ramp

primary
#8960BB
secondary
#BDCEA8
accent
#D0589A
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8960BB

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

Preview Lab → · Contrast checker → · Palette generator →

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