#8960FB#8960FB

#8960FB is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.3% C 0.220 H 290.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8960FB
RGBrgb(137, 96, 251)
HSLhsl(256, 95%, 68%)
HSVhsv(256, 62%, 98%)
CMYKcmyk(45.4%, 61.8%, 0%, 1.6%)
CIE-LABlab(52.56, 51.97, -71.92)
CIE-LCHlch(52.56, 88.74, 305.85°)
OKLaboklab(61.32% 0.0774 -0.2056)
OKLCHoklch(61.32% 0.22 290.6)
XYZxyz(31.9071, 20.6480, 93.5524)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8960FB #D2FB60
analogous
#6084FB #8960FB #D660FB
triadic
#8960FB #FB8960 #60FB89
tetradic
#8960FB #FB6084 #D2FB60 #60FBD6
square
#8960FB #FB6084 #D2FB60 #60FBD6
split-complementary
#8960FB #FBD660 #84FB60
monochromatic
#3E06DB #5D24F9 #8960FB #B59CFD #E2D7FE

Accessibility & contrast

On white

4.09
#8960FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8960FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8960FB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8960FB#FFFFFF#000000##000000
##8960FB1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#007AF8
Tritanopia (blue-blind)
#6684A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8960fb;
/* rgb */ color: rgb(137, 96, 251);
/* oklch */ color: oklch(61.3% 0.220 290.6);
Tailwind
colors: {
  custom: {
    50: '#b38ffe',
    500: '#8960fb',
    950: '#000000',
  },
}
SCSS
$custom: #8960fb;
$custom-light: #b38ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#8960fb",
  "rgb": {
    "r": 137,
    "g": 96,
    "b": 251
  },
  "hsl": {
    "h": 255.871,
    "s": 95.092,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61322,
    "c": 0.21973,
    "h": 290.6
  },
  "luminance": 0.20649
}

Semantic roles & 50–950 ramp

primary
#8960FB
secondary
#E7F3C4
accent
#E600A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8960FB

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

Preview Lab → · Contrast checker → · Palette generator →

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