#B956EC#B956EC

#B956EC is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 64.0% C 0.225 H 312.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B956EC
RGBrgb(185, 86, 236)
HSLhsl(280, 80%, 63%)
HSVhsv(280, 64%, 93%)
CMYKcmyk(21.6%, 63.6%, 0%, 7.5%)
CIE-LABlab(55.10, 63.40, -59.20)
CIE-LCHlch(55.10, 86.74, 316.96°)
OKLaboklab(64.04% 0.1508 -0.1667)
OKLCHoklch(64.04% 0.225 312.1)
XYZxyz(38.4730, 23.0270, 81.7586)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B956EC #89EC56
analogous
#6E56EC #B956EC #EC56D4
triadic
#B956EC #ECB956 #56ECB9
tetradic
#B956EC #EC6E56 #89EC56 #56D4EC
square
#B956EC #EC6E56 #89EC56 #56D4EC
split-complementary
#B956EC #D4EC56 #56EC6E
monochromatic
#7D14B3 #A21FE6 #B956EC #D08DF2 #E7C4F8

Accessibility & contrast

On white

3.75
#B956EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#B956EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B956EC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B956EC#FFFFFF#000000##000000
##B956EC1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF1
Deuteranopia (green-blind)
#4986E9
Tritanopia (blue-blind)
#B3739A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b956ec;
/* rgb */ color: rgb(185, 86, 236);
/* oklch */ color: oklch(64.0% 0.225 312.1);
Tailwind
colors: {
  custom: {
    50: '#d28bf3',
    500: '#b956ec',
    950: '#000000',
  },
}
SCSS
$custom: #b956ec;
$custom-light: #d28bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b956ec",
  "rgb": {
    "r": 185,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 279.6,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64043,
    "c": 0.22482,
    "h": 312.1
  },
  "luminance": 0.23026
}

Semantic roles & 50–950 ramp

primary
#B956EC
secondary
#C6EAB4
accent
#DC0951
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B956EC

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

Preview Lab → · Contrast checker → · Palette generator →

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