#B956EB#B956EB

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

Color values

HEX#B956EB
RGBrgb(185, 86, 235)
HSLhsl(280, 79%, 63%)
HSVhsv(280, 63%, 92%)
CMYKcmyk(21.3%, 63.4%, 0%, 7.8%)
CIE-LABlab(55.04, 63.19, -58.73)
CIE-LCHlch(55.04, 86.27, 317.09°)
OKLaboklab(63.98% 0.1509 -0.1654)
OKLCHoklch(63.98% 0.224 312.4)
XYZxyz(38.3281, 22.9690, 80.9956)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B956EB #88EB56
analogous
#6E56EB #B956EB #EB56D2
triadic
#B956EB #EBB956 #56EBB9
tetradic
#B956EB #EB6E56 #88EB56 #56D2EB
square
#B956EB #EB6E56 #88EB56 #56D2EB
split-complementary
#B956EB #D2EB56 #56EB6E
monochromatic
#7D15B2 #A21FE5 #B956EB #D08DF1 #E6C3F8

Accessibility & contrast

On white

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

On black

5.59
#B956EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B956EB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B956EB#FFFFFF#000000##000000
##B956EB1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#057FF0
Deuteranopia (green-blind)
#4A86E8
Tritanopia (blue-blind)
#B37399
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b956eb;
/* rgb */ color: rgb(185, 86, 235);
/* oklch */ color: oklch(64.0% 0.224 312.4);
Tailwind
colors: {
  custom: {
    50: '#d28bf2',
    500: '#b956eb',
    950: '#000000',
  },
}
SCSS
$custom: #b956eb;
$custom-light: #d28bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b956eb",
  "rgb": {
    "r": 185,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 279.866,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63981,
    "c": 0.22384,
    "h": 312.4
  },
  "luminance": 0.22968
}

Semantic roles & 50–950 ramp

primary
#B956EB
secondary
#C6E9B4
accent
#DB0A50
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B956EB

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

Preview Lab → · Contrast checker → · Palette generator →

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