#B956EF#B956EF

#B956EF is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.2% C 0.228 H 311.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B956EF
RGBrgb(185, 86, 239)
HSLhsl(279, 83%, 64%)
HSVhsv(279, 64%, 94%)
CMYKcmyk(22.6%, 64%, 0%, 6.3%)
CIE-LABlab(55.28, 64.02, -60.59)
CIE-LCHlch(55.28, 88.15, 316.58°)
OKLaboklab(64.23% 0.1507 -0.1708)
OKLCHoklch(64.23% 0.228 311.4)
XYZxyz(38.9125, 23.2028, 84.0734)
Luminance0.2320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B956EF #8CEF56
analogous
#6C56EF #B956EF #EF56D8
triadic
#B956EF #EFB956 #56EFB9
tetradic
#B956EF #EF6C56 #8CEF56 #56D8EF
square
#B956EF #EF6C56 #8CEF56 #56D8EF
split-complementary
#B956EF #D8EF56 #56EF6C
monochromatic
#7E12B9 #A21EEA #B956EF #D08EF4 #E7C6FA

Accessibility & contrast

On white

3.72
#B956EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#B956EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B956EF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B956EF#FFFFFF#000000##000000
##B956EF1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#4686EB
Tritanopia (blue-blind)
#B2749B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b956ef;
/* rgb */ color: rgb(185, 86, 239);
/* oklch */ color: oklch(64.2% 0.228 311.4);
Tailwind
colors: {
  custom: {
    50: '#d28cf5',
    500: '#b956ef',
    950: '#000000',
  },
}
SCSS
$custom: #b956ef;
$custom-light: #d28cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#b956ef",
  "rgb": {
    "r": 185,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 278.824,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64231,
    "c": 0.22776,
    "h": 311.4
  },
  "luminance": 0.23202
}

Semantic roles & 50–950 ramp

primary
#B956EF
secondary
#C8EBB5
accent
#DF0653
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#150C17
muted
#837D85

Preview Lab

Preview with #B956EF

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

Preview Lab → · Contrast checker → · Palette generator →

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