#B956CD#B956CD

#B956CD is a light, vivid purple. Relative luminance 0.214; OKLCH L 62.2% C 0.195 H 320.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B956CD
RGBrgb(185, 86, 205)
HSLhsl(290, 54%, 57%)
HSVhsv(290, 58%, 80%)
CMYKcmyk(9.8%, 58%, 0%, 19.6%)
CIE-LABlab(53.36, 57.19, -44.44)
CIE-LCHlch(53.36, 72.42, 322.15°)
OKLaboklab(62.22% 0.1506 -0.1236)
OKLCHoklch(62.22% 0.195 320.6)
XYZxyz(34.3535, 21.3792, 60.0628)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B956CD #6ACD56
analogous
#7E56CD #B956CD #CD56A6
triadic
#B956CD #CDB956 #56CDB9
tetradic
#B956CD #CD7E56 #6ACD56 #56A6CD
square
#B956CD #CD7E56 #6ACD56 #56A6CD
split-complementary
#B956CD #A6CD56 #56CD7E
monochromatic
#732682 #9C34B1 #B956CD #CD85DB #E0B4E9

Accessibility & contrast

On white

3.98
#B956CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#B956CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B956CD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B956CD#FFFFFF#000000##000000
##B956CD1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D1
Deuteranopia (green-blind)
#6183CA
Tritanopia (blue-blind)
#BA688A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b956cd;
/* rgb */ color: rgb(185, 86, 205);
/* oklch */ color: oklch(62.2% 0.195 320.6);
Tailwind
colors: {
  custom: {
    50: '#d18bdd',
    500: '#b956cd',
    950: '#000000',
  },
}
SCSS
$custom: #b956cd;
$custom-light: #d18bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b956cd",
  "rgb": {
    "r": 185,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 289.916,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62222,
    "c": 0.19483,
    "h": 320.6
  },
  "luminance": 0.21378
}

Semantic roles & 50–950 ramp

primary
#B956CD
secondary
#AFD8A7
accent
#DE4A63
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B956CD

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

Preview Lab → · Contrast checker → · Palette generator →

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