#8960E1#8960E1

#8960E1 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.5% C 0.188 H 294.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8960E1
RGBrgb(137, 96, 225)
HSLhsl(259, 68%, 63%)
HSVhsv(259, 57%, 88%)
CMYKcmyk(39.1%, 57.3%, 0%, 11.8%)
CIE-LABlab(50.83, 44.99, -60.17)
CIE-LCHlch(50.83, 75.13, 306.78°)
OKLaboklab(59.5% 0.0785 -0.1711)
OKLCHoklch(59.5% 0.188 294.7)
XYZxyz(28.0864, 19.1197, 73.4303)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8960E1 #B8E160
analogous
#6077E1 #8960E1 #CA60E1
triadic
#8960E1 #E18960 #60E189
tetradic
#8960E1 #E16077 #B8E160 #60E1CA
square
#8960E1 #E16077 #B8E160 #60E1CA
split-complementary
#8960E1 #E1CA60 #77E160
monochromatic
#4B20A7 #632DD7 #8960E1 #AF93EB #D5C7F4

Accessibility & contrast

On white

4.35
#8960E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8960E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8960E1
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8960E1#FFFFFF#000000##000000
##8960E11.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#147AE5
Deuteranopia (green-blind)
#2877DE
Tritanopia (blue-blind)
#737C97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8960e1;
/* rgb */ color: rgb(137, 96, 225);
/* oklch */ color: oklch(59.5% 0.188 294.7);
Tailwind
colors: {
  custom: {
    50: '#b08feb',
    500: '#8960e1',
    950: '#000000',
  },
}
SCSS
$custom: #8960e1;
$custom-light: #b08feb;
$custom-dark: #000000;
JSON
{
  "hex": "#8960e1",
  "rgb": {
    "r": 137,
    "g": 96,
    "b": 225
  },
  "hsl": {
    "h": 259.07,
    "s": 68.254,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59504,
    "c": 0.18824,
    "h": 294.7
  },
  "luminance": 0.1912
}

Semantic roles & 50–950 ramp

primary
#8960E1
secondary
#D7E6B7
accent
#D01595
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8960E1

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

Preview Lab → · Contrast checker → · Palette generator →

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