#8960EB#8960EB

#8960EB is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.2% C 0.200 H 293.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8960EB
RGBrgb(137, 96, 235)
HSLhsl(258, 78%, 65%)
HSVhsv(258, 59%, 92%)
CMYKcmyk(41.7%, 59.1%, 0%, 7.8%)
CIE-LABlab(51.48, 47.65, -64.75)
CIE-LCHlch(51.48, 80.40, 306.35°)
OKLaboklab(60.19% 0.0783 -0.1845)
OKLCHoklch(60.19% 0.2 293)
XYZxyz(29.4907, 19.6815, 80.8263)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8960EB #C2EB60
analogous
#607CEB #8960EB #CF60EB
triadic
#8960EB #EB8960 #60EB89
tetradic
#8960EB #EB607C #C2EB60 #60EBCF
square
#8960EB #EB607C #C2EB60 #60EBCF
split-complementary
#8960EB #EBCF60 #7CEB60
monochromatic
#4717B9 #612AE4 #8960EB #B196F2 #DACDF9

Accessibility & contrast

On white

4.25
#8960EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8960EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8960EB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8960EB#FFFFFF#000000##000000
##8960EB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#0A78E8
Tritanopia (blue-blind)
#6E7F9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8960eb;
/* rgb */ color: rgb(137, 96, 235);
/* oklch */ color: oklch(60.2% 0.200 293.0);
Tailwind
colors: {
  custom: {
    50: '#b18ff2',
    500: '#8960eb',
    950: '#000000',
  },
}
SCSS
$custom: #8960eb;
$custom-light: #b18ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#8960eb",
  "rgb": {
    "r": 137,
    "g": 96,
    "b": 235
  },
  "hsl": {
    "h": 257.698,
    "s": 77.654,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60185,
    "c": 0.20048,
    "h": 293
  },
  "luminance": 0.19682
}

Semantic roles & 50–950 ramp

primary
#8960EB
secondary
#DDEBBC
accent
#DA0C9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8960EB

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

Preview Lab → · Contrast checker → · Palette generator →

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