#B960E2#B960E2

#B960E2 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 64.7% C 0.201 H 313.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B960E2
RGBrgb(185, 96, 226)
HSLhsl(281, 69%, 63%)
HSVhsv(281, 58%, 89%)
CMYKcmyk(18.1%, 57.5%, 0%, 11.4%)
CIE-LABlab(56.26, 56.61, -51.73)
CIE-LCHlch(56.26, 76.68, 317.57°)
OKLaboklab(64.7% 0.139 -0.1449)
OKLCHoklch(64.7% 0.201 313.8)
XYZxyz(37.9156, 24.1721, 74.6051)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B960E2 #89E260
analogous
#7860E2 #B960E2 #E260CA
triadic
#B960E2 #E2B960 #60E2B9
tetradic
#B960E2 #E27860 #89E260 #60CAE2
square
#B960E2 #E27860 #89E260 #60CAE2
split-complementary
#B960E2 #CAE260 #60E278
monochromatic
#7D1FA9 #A22CD9 #B960E2 #D094EB #E7C8F5

Accessibility & contrast

On white

3.60
#B960E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#B960E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B960E2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B960E2#FFFFFF#000000##000000
##B960E21.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3982E6
Deuteranopia (green-blind)
#5B89DF
Tritanopia (blue-blind)
#B57798
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b960e2;
/* rgb */ color: rgb(185, 96, 226);
/* oklch */ color: oklch(64.7% 0.201 313.8);
Tailwind
colors: {
  custom: {
    50: '#d191ec',
    500: '#b960e2',
    950: '#000000',
  },
}
SCSS
$custom: #b960e2;
$custom-light: #d191ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b960e2",
  "rgb": {
    "r": 185,
    "g": 96,
    "b": 226
  },
  "hsl": {
    "h": 281.077,
    "s": 69.149,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64701,
    "c": 0.20078,
    "h": 313.8
  },
  "luminance": 0.24171
}

Semantic roles & 50–950 ramp

primary
#B960E2
secondary
#C6E6B8
accent
#D11450
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B960E2

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

Preview Lab → · Contrast checker → · Palette generator →

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