#B956F1#B956F1

#B956F1 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.4% C 0.230 H 311.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B956F1
RGBrgb(185, 86, 241)
HSLhsl(278, 85%, 64%)
HSVhsv(278, 64%, 95%)
CMYKcmyk(23.2%, 64.3%, 0%, 5.5%)
CIE-LABlab(55.40, 64.44, -61.51)
CIE-LCHlch(55.40, 89.08, 316.33°)
OKLaboklab(64.36% 0.1506 -0.1735)
OKLCHoklch(64.36% 0.23 311)
XYZxyz(39.2096, 23.3216, 85.6380)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B956F1 #8EF156
analogous
#6C56F1 #B956F1 #F156DB
triadic
#B956F1 #F1B956 #56F1B9
tetradic
#B956F1 #F16C56 #8EF156 #56DBF1
square
#B956F1 #F16C56 #8EF156 #56DBF1
split-complementary
#B956F1 #DBF156 #56F16C
monochromatic
#7E10BD #A21DEC #B956F1 #D08FF6 #E8C7FA

Accessibility & contrast

On white

3.71
#B956F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#B956F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B956F1
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B956F1#FFFFFF#000000##000000
##B956F11.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F6
Deuteranopia (green-blind)
#4486ED
Tritanopia (blue-blind)
#B2759C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b956f1;
/* rgb */ color: rgb(185, 86, 241);
/* oklch */ color: oklch(64.4% 0.230 311.0);
Tailwind
colors: {
  custom: {
    50: '#d28cf6',
    500: '#b956f1',
    950: '#000000',
  },
}
SCSS
$custom: #b956f1;
$custom-light: #d28cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b956f1",
  "rgb": {
    "r": 185,
    "g": 86,
    "b": 241
  },
  "hsl": {
    "h": 278.323,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64357,
    "c": 0.22972,
    "h": 311
  },
  "luminance": 0.23321
}

Semantic roles & 50–950 ramp

primary
#B956F1
secondary
#CAECB6
accent
#E10454
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B956F1

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

Preview Lab → · Contrast checker → · Palette generator →

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