#B956FB#B956FB

#B956FB is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 65.0% C 0.240 H 308.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B956FB
RGBrgb(185, 86, 251)
HSLhsl(276, 95%, 66%)
HSVhsv(276, 66%, 98%)
CMYKcmyk(26.3%, 65.7%, 0%, 1.6%)
CIE-LABlab(56.02, 66.56, -66.07)
CIE-LCHlch(56.02, 93.78, 315.21°)
OKLaboklab(65% 0.1499 -0.1869)
OKLCHoklch(65% 0.24 308.7)
XYZxyz(40.7444, 23.9356, 93.7217)
Luminance0.2394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B956FB #98FB56
analogous
#6656FB #B956FB #FB56EA
triadic
#B956FB #FBB956 #56FBB9
tetradic
#B956FB #FB6656 #98FB56 #56EAFB
square
#B956FB #FB6656 #98FB56 #56EAFB
split-complementary
#B956FB #EAFB56 #56FB66
monochromatic
#8005D2 #A01AFA #B956FB #D292FC #EBCEFE

Accessibility & contrast

On white

3.63
#B956FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#B956FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B956FB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B956FB#FFFFFF#000000##000000
##B956FB1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#3787F7
Tritanopia (blue-blind)
#AF79A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b956fb;
/* rgb */ color: rgb(185, 86, 251);
/* oklch */ color: oklch(65.0% 0.240 308.7);
Tailwind
colors: {
  custom: {
    50: '#d38cfd',
    500: '#b956fb',
    950: '#000000',
  },
}
SCSS
$custom: #b956fb;
$custom-light: #d38cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b956fb",
  "rgb": {
    "r": 185,
    "g": 86,
    "b": 251
  },
  "hsl": {
    "h": 276,
    "s": 95.376,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65002,
    "c": 0.23955,
    "h": 308.7
  },
  "luminance": 0.23935
}

Semantic roles & 50–950 ramp

primary
#B956FB
secondary
#D1F2BB
accent
#E6005C
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150D18
muted
#837D86

Preview Lab

Preview with #B956FB

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

Preview Lab → · Contrast checker → · Palette generator →

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