#8960E9#8960E9

#8960E9 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.0% C 0.198 H 293.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8960E9
RGBrgb(137, 96, 233)
HSLhsl(258, 76%, 65%)
HSVhsv(258, 59%, 91%)
CMYKcmyk(41.2%, 58.8%, 0%, 8.6%)
CIE-LABlab(51.34, 47.12, -63.84)
CIE-LCHlch(51.34, 79.35, 306.43°)
OKLaboklab(60.05% 0.0784 -0.1819)
OKLCHoklch(60.05% 0.198 293.3)
XYZxyz(29.2034, 19.5665, 79.3131)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8960E9 #C0E960
analogous
#607CE9 #8960E9 #CE60E9
triadic
#8960E9 #E98960 #60E989
tetradic
#8960E9 #E9607C #C0E960 #60E9CE
square
#8960E9 #E9607C #C0E960 #60E9CE
split-complementary
#8960E9 #E9CE60 #7CE960
monochromatic
#4819B5 #612AE2 #8960E9 #B196F0 #D9CCF8

Accessibility & contrast

On white

4.27
#8960E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8960E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8960E9
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8960E9#FFFFFF#000000##000000
##8960E91.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#1478E6
Tritanopia (blue-blind)
#6F7E9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8960e9;
/* rgb */ color: rgb(137, 96, 233);
/* oklch */ color: oklch(60.0% 0.198 293.3);
Tailwind
colors: {
  custom: {
    50: '#b18ff1',
    500: '#8960e9',
    950: '#000000',
  },
}
SCSS
$custom: #8960e9;
$custom-light: #b18ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#8960e9",
  "rgb": {
    "r": 137,
    "g": 96,
    "b": 233
  },
  "hsl": {
    "h": 257.956,
    "s": 75.691,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60047,
    "c": 0.19804,
    "h": 293.3
  },
  "luminance": 0.19567
}

Semantic roles & 50–950 ramp

primary
#8960E9
secondary
#DCEABB
accent
#D80E9B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8960E9

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

Preview Lab → · Contrast checker → · Palette generator →

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