#B956CC#B956CC

#B956CC is a light, vivid purple. Relative luminance 0.213; OKLCH L 62.2% C 0.194 H 320.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B956CC
RGBrgb(185, 86, 204)
HSLhsl(290, 54%, 57%)
HSVhsv(290, 58%, 80%)
CMYKcmyk(9.3%, 57.8%, 0%, 20%)
CIE-LABlab(53.31, 57.00, -43.95)
CIE-LCHlch(53.31, 71.97, 322.37°)
OKLaboklab(62.17% 0.1505 -0.1222)
OKLCHoklch(62.17% 0.194 320.9)
XYZxyz(34.2332, 21.3311, 59.4291)
Luminance0.2133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B956CC #69CC56
analogous
#7E56CC #B956CC #CC56A4
triadic
#B956CC #CCB956 #56CCB9
tetradic
#B956CC #CC7E56 #69CC56 #56A4CC
square
#B956CC #CC7E56 #69CC56 #56A4CC
split-complementary
#B956CC #A4CC56 #56CC7E
monochromatic
#722781 #9C35B0 #B956CC #CC85DA #E0B4E8

Accessibility & contrast

On white

3.99
#B956CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#B956CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B956CC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B956CC#FFFFFF#000000##000000
##B956CC1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E78D0
Deuteranopia (green-blind)
#6183C9
Tritanopia (blue-blind)
#BB6889
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b956cc;
/* rgb */ color: rgb(185, 86, 204);
/* oklch */ color: oklch(62.2% 0.194 320.9);
Tailwind
colors: {
  custom: {
    50: '#d18bdc',
    500: '#b956cc',
    950: '#000000',
  },
}
SCSS
$custom: #b956cc;
$custom-light: #d18bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b956cc",
  "rgb": {
    "r": 185,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 290.339,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62167,
    "c": 0.19389,
    "h": 320.9
  },
  "luminance": 0.21329
}

Semantic roles & 50–950 ramp

primary
#B956CC
secondary
#AFD7A7
accent
#DD4B62
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B956CC

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

Preview Lab → · Contrast checker → · Palette generator →

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