#8960EC#8960EC

#8960EC is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.3% C 0.202 H 292.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8960EC
RGBrgb(137, 96, 236)
HSLhsl(258, 79%, 65%)
HSVhsv(258, 59%, 93%)
CMYKcmyk(41.9%, 59.3%, 0%, 7.5%)
CIE-LABlab(51.54, 47.92, -65.21)
CIE-LCHlch(51.54, 80.92, 306.31°)
OKLaboklab(60.26% 0.0783 -0.1859)
OKLCHoklch(60.26% 0.202 292.8)
XYZxyz(29.6356, 19.7394, 81.5893)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8960EC #C3EC60
analogous
#607DEC #8960EC #CF60EC
triadic
#8960EC #EC8960 #60EC89
tetradic
#8960EC #EC607D #C3EC60 #60ECCF
square
#8960EC #EC607D #C3EC60 #60ECCF
split-complementary
#8960EC #ECCF60 #7DEC60
monochromatic
#4716BB #6029E5 #8960EC #B297F3 #DACDF9

Accessibility & contrast

On white

4.24
#8960EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8960EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8960EC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8960EC#FFFFFF#000000##000000
##8960EC1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#0478E9
Tritanopia (blue-blind)
#6E7F9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8960ec;
/* rgb */ color: rgb(137, 96, 236);
/* oklch */ color: oklch(60.3% 0.202 292.8);
Tailwind
colors: {
  custom: {
    50: '#b28ff3',
    500: '#8960ec',
    950: '#000000',
  },
}
SCSS
$custom: #8960ec;
$custom-light: #b28ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#8960ec",
  "rgb": {
    "r": 137,
    "g": 96,
    "b": 236
  },
  "hsl": {
    "h": 257.571,
    "s": 78.652,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60255,
    "c": 0.2017,
    "h": 292.8
  },
  "luminance": 0.1974
}

Semantic roles & 50–950 ramp

primary
#8960EC
secondary
#DEECBC
accent
#DB0B9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8960EC

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

Preview Lab → · Contrast checker → · Palette generator →

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