#B960EB#B960EB

#B960EB is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.2% C 0.210 H 311.5°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B960EB
RGBrgb(185, 96, 235)
HSLhsl(278, 78%, 65%)
HSVhsv(278, 59%, 92%)
CMYKcmyk(21.3%, 59.1%, 0%, 7.8%)
CIE-LABlab(56.76, 58.50, -55.98)
CIE-LCHlch(56.76, 80.97, 316.26°)
OKLaboklab(65.23% 0.1391 -0.1573)
OKLCHoklch(65.23% 0.21 311.5)
XYZxyz(39.1831, 24.6791, 81.2806)
Luminance0.2468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B960EB #92EB60
analogous
#7360EB #B960EB #EB60D8
triadic
#B960EB #EBB960 #60EBB9
tetradic
#B960EB #EB7360 #92EB60 #60D8EB
square
#B960EB #EB7360 #92EB60 #60D8EB
split-complementary
#B960EB #D8EB60 #60EB73
monochromatic
#7F17B9 #A12AE4 #B960EB #D196F2 #E9CDF9

Accessibility & contrast

On white

3.54
#B960EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#B960EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B960EB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B960EB#FFFFFF#000000##000000
##B960EB1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E84EF
Deuteranopia (green-blind)
#548AE8
Tritanopia (blue-blind)
#B37A9D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b960eb;
/* rgb */ color: rgb(185, 96, 235);
/* oklch */ color: oklch(65.2% 0.210 311.5);
Tailwind
colors: {
  custom: {
    50: '#d191f2',
    500: '#b960eb',
    950: '#000000',
  },
}
SCSS
$custom: #b960eb;
$custom-light: #d191f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b960eb",
  "rgb": {
    "r": 185,
    "g": 96,
    "b": 235
  },
  "hsl": {
    "h": 278.417,
    "s": 77.654,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65228,
    "c": 0.21003,
    "h": 311.5
  },
  "luminance": 0.24678
}

Semantic roles & 50–950 ramp

primary
#B960EB
secondary
#CDEBBC
accent
#DA0C56
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B960EB

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

Preview Lab → · Contrast checker → · Palette generator →

#B960EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva