#B956E2#B956E2

#B956E2 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.4% C 0.215 H 314.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B956E2
RGBrgb(185, 86, 226)
HSLhsl(282, 71%, 61%)
HSVhsv(282, 62%, 89%)
CMYKcmyk(18.1%, 61.9%, 0%, 11.4%)
CIE-LABlab(54.51, 61.34, -54.52)
CIE-LCHlch(54.51, 82.07, 318.37°)
OKLaboklab(63.43% 0.1511 -0.153)
OKLCHoklch(63.43% 0.215 314.6)
XYZxyz(37.0606, 22.4620, 74.3201)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B956E2 #7FE256
analogous
#7356E2 #B956E2 #E256C5
triadic
#B956E2 #E2B956 #56E2B9
tetradic
#B956E2 #E27356 #7FE256 #56C5E2
square
#B956E2 #E27356 #7FE256 #56C5E2
split-complementary
#B956E2 #C5E256 #56E273
monochromatic
#7B1CA2 #A225D6 #B956E2 #CF8AEB #E4BEF4

Accessibility & contrast

On white

3.82
#B956E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#B956E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B956E2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B956E2#FFFFFF#000000##000000
##B956E21.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#227DE6
Deuteranopia (green-blind)
#5285DF
Tritanopia (blue-blind)
#B67094
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b956e2;
/* rgb */ color: rgb(185, 86, 226);
/* oklch */ color: oklch(63.4% 0.215 314.6);
Tailwind
colors: {
  custom: {
    50: '#d18bec',
    500: '#b956e2',
    950: '#000000',
  },
}
SCSS
$custom: #b956e2;
$custom-light: #d18bec;
$custom-dark: #000000;
JSON
{
  "hex": "#b956e2",
  "rgb": {
    "r": 185,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 282.429,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63431,
    "c": 0.21504,
    "h": 314.6
  },
  "luminance": 0.22461
}

Semantic roles & 50–950 ramp

primary
#B956E2
secondary
#BFE4B0
accent
#D3134B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B956E2

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

Preview Lab → · Contrast checker → · Palette generator →

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