#B956F7#B956F7

#B956F7 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.7% C 0.236 H 309.6°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B956F7
RGBrgb(185, 86, 247)
HSLhsl(277, 91%, 65%)
HSVhsv(277, 65%, 97%)
CMYKcmyk(25.1%, 65.2%, 0%, 3.1%)
CIE-LABlab(55.77, 65.71, -64.25)
CIE-LCHlch(55.77, 91.90, 315.64°)
OKLaboklab(64.74% 0.1502 -0.1816)
OKLCHoklch(64.74% 0.236 309.6)
XYZxyz(40.1206, 23.6860, 90.4360)
Luminance0.2369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B956F7 #94F756
analogous
#6856F7 #B956F7 #F756E5
triadic
#B956F7 #F7B956 #56F7B9
tetradic
#B956F7 #F76856 #94F756 #56E5F7
square
#B956F7 #F76856 #94F756 #56E5F7
split-complementary
#B956F7 #E5F756 #56F768
monochromatic
#7F0AC9 #A11CF4 #B956F7 #D190FA #E9CBFD

Accessibility & contrast

On white

3.66
#B956F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#B956F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B956F7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B956F7#FFFFFF#000000##000000
##B956F71.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FC
Deuteranopia (green-blind)
#3D87F3
Tritanopia (blue-blind)
#B077A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b956f7;
/* rgb */ color: rgb(185, 86, 247);
/* oklch */ color: oklch(64.7% 0.236 309.6);
Tailwind
colors: {
  custom: {
    50: '#d28cfb',
    500: '#b956f7',
    950: '#000000',
  },
}
SCSS
$custom: #b956f7;
$custom-light: #d28cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b956f7",
  "rgb": {
    "r": 185,
    "g": 86,
    "b": 247
  },
  "hsl": {
    "h": 276.894,
    "s": 90.96,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64742,
    "c": 0.23562,
    "h": 309.6
  },
  "luminance": 0.23685
}

Semantic roles & 50–950 ramp

primary
#B956F7
secondary
#CEF0B9
accent
#E60058
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B956F7

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

Preview Lab → · Contrast checker → · Palette generator →

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