#B956EA#B956EA

#B956EA is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 63.9% C 0.223 H 312.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B956EA
RGBrgb(185, 86, 234)
HSLhsl(280, 78%, 63%)
HSVhsv(280, 63%, 92%)
CMYKcmyk(20.9%, 63.2%, 0%, 8.2%)
CIE-LABlab(54.98, 62.98, -58.27)
CIE-LCHlch(54.98, 85.80, 317.23°)
OKLaboklab(63.92% 0.1509 -0.164)
OKLCHoklch(63.92% 0.223 312.6)
XYZxyz(38.1840, 22.9114, 80.2368)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B956EA #87EA56
analogous
#6F56EA #B956EA #EA56D1
triadic
#B956EA #EAB956 #56EAB9
tetradic
#B956EA #EA6F56 #87EA56 #56D1EA
square
#B956EA #EA6F56 #87EA56 #56D1EA
split-complementary
#B956EA #D1EA56 #56EA6F
monochromatic
#7D16B0 #A220E3 #B956EA #D08CF1 #E6C3F8

Accessibility & contrast

On white

3.76
#B956EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#B956EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B956EA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B956EA#FFFFFF#000000##000000
##B956EA1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B7EEF
Deuteranopia (green-blind)
#4B86E7
Tritanopia (blue-blind)
#B47399
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b956ea;
/* rgb */ color: rgb(185, 86, 234);
/* oklch */ color: oklch(63.9% 0.223 312.6);
Tailwind
colors: {
  custom: {
    50: '#d28bf1',
    500: '#b956ea',
    950: '#000000',
  },
}
SCSS
$custom: #b956ea;
$custom-light: #d28bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b956ea",
  "rgb": {
    "r": 185,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 280.135,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63919,
    "c": 0.22286,
    "h": 312.6
  },
  "luminance": 0.2291
}

Semantic roles & 50–950 ramp

primary
#B956EA
secondary
#C5E9B3
accent
#DA0B50
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B956EA

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

Preview Lab → · Contrast checker → · Palette generator →

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