#B956CF#B956CF

#B956CF is a light, vivid purple. Relative luminance 0.215; OKLCH L 62.3% C 0.197 H 320.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B956CF
RGBrgb(185, 86, 207)
HSLhsl(289, 56%, 57%)
HSVhsv(289, 58%, 81%)
CMYKcmyk(10.6%, 58.5%, 0%, 18.8%)
CIE-LABlab(53.47, 57.57, -45.41)
CIE-LCHlch(53.47, 73.33, 321.73°)
OKLaboklab(62.33% 0.1507 -0.1264)
OKLCHoklch(62.33% 0.197 320)
XYZxyz(34.5965, 21.4764, 61.3424)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B956CF #6CCF56
analogous
#7D56CF #B956CF #CF56A8
triadic
#B956CF #CFB956 #56CFB9
tetradic
#B956CF #CF7D56 #6CCF56 #56A8CF
square
#B956CF #CF7D56 #6CCF56 #56A8CF
split-complementary
#B956CF #A8CF56 #56CF7D
monochromatic
#742685 #9D33B5 #B956CF #CD86DD #E0B5EA

Accessibility & contrast

On white

3.97
#B956CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#B956CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B956CF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B956CF#FFFFFF#000000##000000
##B956CF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B79D3
Deuteranopia (green-blind)
#6083CC
Tritanopia (blue-blind)
#BA698B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b956cf;
/* rgb */ color: rgb(185, 86, 207);
/* oklch */ color: oklch(62.3% 0.197 320.0);
Tailwind
colors: {
  custom: {
    50: '#d18bde',
    500: '#b956cf',
    950: '#000000',
  },
}
SCSS
$custom: #b956cf;
$custom-light: #d18bde;
$custom-dark: #000000;
JSON
{
  "hex": "#b956cf",
  "rgb": {
    "r": 185,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 289.091,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62332,
    "c": 0.19673,
    "h": 320
  },
  "luminance": 0.21475
}

Semantic roles & 50–950 ramp

primary
#B956CF
secondary
#B1D9A8
accent
#DF4964
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B956CF

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

Preview Lab → · Contrast checker → · Palette generator →

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