#8960B2#8960B2

#8960B2 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.6% C 0.129 H 305.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8960B2
RGBrgb(137, 96, 178)
HSLhsl(270, 35%, 54%)
HSVhsv(270, 46%, 70%)
CMYKcmyk(23%, 46.1%, 0%, 30.2%)
CIE-LABlab(48.13, 33.03, -37.50)
CIE-LCHlch(48.13, 49.97, 311.37°)
OKLaboklab(56.64% 0.0754 -0.1047)
OKLCHoklch(56.64% 0.129 305.7)
XYZxyz(22.5336, 16.8986, 44.1855)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8960B2 #89B260
analogous
#6060B2 #8960B2 #B260B2
triadic
#8960B2 #B28960 #60B289
tetradic
#8960B2 #B26060 #89B260 #60B2B2
square
#8960B2 #B26060 #89B260 #60B2B2
split-complementary
#8960B2 #B2B260 #60B260
monochromatic
#4C3166 #6A458F #8960B2 #A889C6 #C6B2DA

Accessibility & contrast

On white

4.79
#8960B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8960B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8960B2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8960B2#FFFFFF#000000##FFFFFF
##8960B21.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#5572B0
Tritanopia (blue-blind)
#836E80
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8960b2;
/* rgb */ color: rgb(137, 96, 178);
/* oklch */ color: oklch(56.6% 0.129 305.7);
Tailwind
colors: {
  custom: {
    50: '#ad8ec9',
    500: '#8960b2',
    950: '#000000',
  },
}
SCSS
$custom: #8960b2;
$custom-light: #ad8ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#8960b2",
  "rgb": {
    "r": 137,
    "g": 96,
    "b": 178
  },
  "hsl": {
    "h": 270,
    "s": 34.746,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56636,
    "c": 0.12904,
    "h": 305.7
  },
  "luminance": 0.16898
}

Semantic roles & 50–950 ramp

primary
#8960B2
secondary
#B7C8A5
accent
#CB5D94
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8960B2

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

Preview Lab → · Contrast checker → · Palette generator →

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