#B960EC#B960EC

#B960EC is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.3% C 0.211 H 311.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B960EC
RGBrgb(185, 96, 236)
HSLhsl(278, 79%, 65%)
HSVhsv(278, 59%, 93%)
CMYKcmyk(21.6%, 59.3%, 0%, 7.5%)
CIE-LABlab(56.82, 58.71, -56.45)
CIE-LCHlch(56.82, 81.44, 316.13°)
OKLaboklab(65.29% 0.1391 -0.1587)
OKLCHoklch(65.29% 0.211 311.2)
XYZxyz(39.3280, 24.7370, 82.0436)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B960EC #93EC60
analogous
#7360EC #B960EC #EC60D9
triadic
#B960EC #ECB960 #60ECB9
tetradic
#B960EC #EC7360 #93EC60 #60D9EC
square
#B960EC #EC7360 #93EC60 #60D9EC
split-complementary
#B960EC #D9EC60 #60EC73
monochromatic
#7F16BB #A129E5 #B960EC #D197F3 #E9CDF9

Accessibility & contrast

On white

3.53
#B960EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#B960EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B960EC
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B960EC#FFFFFF#000000##000000
##B960EC1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b960ec;
/* rgb */ color: rgb(185, 96, 236);
/* oklch */ color: oklch(65.3% 0.211 311.2);
Tailwind
colors: {
  custom: {
    50: '#d191f3',
    500: '#b960ec',
    950: '#000000',
  },
}
SCSS
$custom: #b960ec;
$custom-light: #d191f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b960ec",
  "rgb": {
    "r": 185,
    "g": 96,
    "b": 236
  },
  "hsl": {
    "h": 278.143,
    "s": 78.652,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65288,
    "c": 0.21107,
    "h": 311.2
  },
  "luminance": 0.24736
}

Semantic roles & 50–950 ramp

primary
#B960EC
secondary
#CDECBC
accent
#DB0B56
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B960EC

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

Preview Lab → · Contrast checker → · Palette generator →

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