#B960EF#B960EF

#B960EF is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.5% C 0.214 H 310.5°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B960EF
RGBrgb(185, 96, 239)
HSLhsl(277, 82%, 66%)
HSVhsv(277, 60%, 94%)
CMYKcmyk(22.6%, 59.8%, 0%, 6.3%)
CIE-LABlab(56.99, 59.35, -57.84)
CIE-LCHlch(56.99, 82.88, 315.74°)
OKLaboklab(65.47% 0.1391 -0.1628)
OKLCHoklch(65.47% 0.214 310.5)
XYZxyz(39.7675, 24.9128, 84.3584)
Luminance0.2491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B960EF #96EF60
analogous
#7160EF #B960EF #EF60DD
triadic
#B960EF #EFB960 #60EFB9
tetradic
#B960EF #EF7160 #96EF60 #60DDEF
square
#B960EF #EF7160 #96EF60 #60DDEF
split-complementary
#B960EF #DDEF60 #60EF71
monochromatic
#8013C1 #A128E9 #B960EF #D198F5 #EACFFA

Accessibility & contrast

On white

3.51
#B960EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#B960EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B960EF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B960EF#FFFFFF#000000##000000
##B960EF1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2785F4
Deuteranopia (green-blind)
#518AEC
Tritanopia (blue-blind)
#B27B9F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b960ef;
/* rgb */ color: rgb(185, 96, 239);
/* oklch */ color: oklch(65.5% 0.214 310.5);
Tailwind
colors: {
  custom: {
    50: '#d291f5',
    500: '#b960ef',
    950: '#000000',
  },
}
SCSS
$custom: #b960ef;
$custom-light: #d291f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b960ef",
  "rgb": {
    "r": 185,
    "g": 96,
    "b": 239
  },
  "hsl": {
    "h": 277.343,
    "s": 81.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65469,
    "c": 0.21416,
    "h": 310.5
  },
  "luminance": 0.24912
}

Semantic roles & 50–950 ramp

primary
#B960EF
secondary
#D0EDBE
accent
#DE0758
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B960EF

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

Preview Lab → · Contrast checker → · Palette generator →

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