#8960DC#8960DC

#8960DC is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.2% C 0.182 H 295.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8960DC
RGBrgb(137, 96, 220)
HSLhsl(260, 64%, 62%)
HSVhsv(260, 56%, 86%)
CMYKcmyk(37.7%, 56.4%, 0%, 13.7%)
CIE-LABlab(50.51, 43.67, -57.85)
CIE-LCHlch(50.51, 72.48, 307.05°)
OKLaboklab(59.17% 0.0785 -0.1642)
OKLCHoklch(59.17% 0.182 295.6)
XYZxyz(27.4143, 18.8509, 69.8905)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8960DC #B3DC60
analogous
#6075DC #8960DC #C760DC
triadic
#8960DC #DC8960 #60DC89
tetradic
#8960DC #DC6075 #B3DC60 #60DCC7
square
#8960DC #DC6075 #B3DC60 #60DCC7
split-complementary
#8960DC #DCC760 #75DC60
monochromatic
#4C239F #642ED1 #8960DC #AE92E7 #D3C4F2

Accessibility & contrast

On white

4.40
#8960DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#8960DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8960DC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8960DC#FFFFFF#000000##000000
##8960DC1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2079E0
Deuteranopia (green-blind)
#3076D9
Tritanopia (blue-blind)
#757A95
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8960dc;
/* rgb */ color: rgb(137, 96, 220);
/* oklch */ color: oklch(59.2% 0.182 295.6);
Tailwind
colors: {
  custom: {
    50: '#b08ee7',
    500: '#8960dc',
    950: '#000000',
  },
}
SCSS
$custom: #8960dc;
$custom-light: #b08ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#8960dc",
  "rgb": {
    "r": 137,
    "g": 96,
    "b": 220
  },
  "hsl": {
    "h": 259.839,
    "s": 63.918,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59172,
    "c": 0.18206,
    "h": 295.6
  },
  "luminance": 0.18851
}

Semantic roles & 50–950 ramp

primary
#8960DC
secondary
#D4E3B5
accent
#CC1A91
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8960DC

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

Preview Lab → · Contrast checker → · Palette generator →

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