#8960F4#8960F4

#8960F4 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.8% C 0.211 H 291.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8960F4
RGBrgb(137, 96, 244)
HSLhsl(257, 87%, 67%)
HSVhsv(257, 61%, 96%)
CMYKcmyk(43.9%, 60.7%, 0%, 4.3%)
CIE-LABlab(52.08, 50.08, -68.81)
CIE-LCHlch(52.08, 85.10, 306.04°)
OKLaboklab(60.82% 0.0779 -0.1965)
OKLCHoklch(60.82% 0.211 291.6)
XYZxyz(30.8240, 20.2148, 87.8482)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8960F4 #CBF460
analogous
#6081F4 #8960F4 #D360F4
triadic
#8960F4 #F48960 #60F489
tetradic
#8960F4 #F46081 #CBF460 #60F4D3
square
#8960F4 #F46081 #CBF460 #60F4D3
split-complementary
#8960F4 #F4D360 #81F460
monochromatic
#430ECC #5F27F0 #8960F4 #B399F8 #DED2FC

Accessibility & contrast

On white

4.16
#8960F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8960F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8960F4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8960F4#FFFFFF#000000##000000
##8960F41.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF9
Deuteranopia (green-blind)
#0079F1
Tritanopia (blue-blind)
#6A82A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8960f4;
/* rgb */ color: rgb(137, 96, 244);
/* oklch */ color: oklch(60.8% 0.211 291.6);
Tailwind
colors: {
  custom: {
    50: '#b28ff9',
    500: '#8960f4',
    950: '#000000',
  },
}
SCSS
$custom: #8960f4;
$custom-light: #b28ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#8960f4",
  "rgb": {
    "r": 137,
    "g": 96,
    "b": 244
  },
  "hsl": {
    "h": 256.622,
    "s": 87.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60818,
    "c": 0.21136,
    "h": 291.6
  },
  "luminance": 0.20216
}

Semantic roles & 50–950 ramp

primary
#8960F4
secondary
#E3F0C0
accent
#E402A5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8960F4

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

Preview Lab → · Contrast checker → · Palette generator →

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