#8960F8#8960F8

#8960F8 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.1% C 0.216 H 291.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8960F8
RGBrgb(137, 96, 248)
HSLhsl(256, 92%, 67%)
HSVhsv(256, 61%, 97%)
CMYKcmyk(44.8%, 61.3%, 0%, 2.7%)
CIE-LABlab(52.35, 51.16, -70.59)
CIE-LCHlch(52.35, 87.18, 305.93°)
OKLaboklab(61.11% 0.0776 -0.2017)
OKLCHoklch(61.11% 0.216 291)
XYZxyz(31.4379, 20.4603, 91.0815)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8960F8 #CFF860
analogous
#6083F8 #8960F8 #D560F8
triadic
#8960F8 #F88960 #60F889
tetradic
#8960F8 #F86083 #CFF860 #60F8D5
square
#8960F8 #F86083 #CFF860 #60F8D5
split-complementary
#8960F8 #F8D560 #83F860
monochromatic
#4009D4 #5D25F5 #8960F8 #B59BFB #E0D5FD

Accessibility & contrast

On white

4.12
#8960F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8960F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8960F8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8960F8#FFFFFF#000000##000000
##8960F81.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFD
Deuteranopia (green-blind)
#007AF5
Tritanopia (blue-blind)
#6883A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8960f8;
/* rgb */ color: rgb(137, 96, 248);
/* oklch */ color: oklch(61.1% 0.216 291.0);
Tailwind
colors: {
  custom: {
    50: '#b38ffb',
    500: '#8960f8',
    950: '#000000',
  },
}
SCSS
$custom: #8960f8;
$custom-light: #b38ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#8960f8",
  "rgb": {
    "r": 137,
    "g": 96,
    "b": 248
  },
  "hsl": {
    "h": 256.184,
    "s": 91.566,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61105,
    "c": 0.21615,
    "h": 291
  },
  "luminance": 0.20461
}

Semantic roles & 50–950 ramp

primary
#8960F8
secondary
#E5F2C2
accent
#E600A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8960F8

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

Preview Lab → · Contrast checker → · Palette generator →

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