#B956EE#B956EE

#B956EE is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.2% C 0.227 H 311.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B956EE
RGBrgb(185, 86, 238)
HSLhsl(279, 82%, 64%)
HSVhsv(279, 64%, 93%)
CMYKcmyk(22.3%, 63.9%, 0%, 6.7%)
CIE-LABlab(55.22, 63.81, -60.12)
CIE-LCHlch(55.22, 87.68, 316.71°)
OKLaboklab(64.17% 0.1507 -0.1694)
OKLCHoklch(64.17% 0.227 311.7)
XYZxyz(38.7652, 23.1439, 83.2975)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B956EE #8BEE56
analogous
#6D56EE #B956EE #EE56D7
triadic
#B956EE #EEB956 #56EEB9
tetradic
#B956EE #EE6D56 #8BEE56 #56D7EE
square
#B956EE #EE6D56 #8BEE56 #56D7EE
split-complementary
#B956EE #D7EE56 #56EE6D
monochromatic
#7E12B7 #A21EE8 #B956EE #D08EF4 #E7C5F9

Accessibility & contrast

On white

3.73
#B956EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#B956EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B956EE
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B956EE#FFFFFF#000000##000000
##B956EE1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF3
Deuteranopia (green-blind)
#4786EA
Tritanopia (blue-blind)
#B3749B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b956ee;
/* rgb */ color: rgb(185, 86, 238);
/* oklch */ color: oklch(64.2% 0.227 311.7);
Tailwind
colors: {
  custom: {
    50: '#d28cf4',
    500: '#b956ee',
    950: '#000000',
  },
}
SCSS
$custom: #b956ee;
$custom-light: #d28cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b956ee",
  "rgb": {
    "r": 185,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 279.079,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64168,
    "c": 0.22678,
    "h": 311.7
  },
  "luminance": 0.23143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B956EE

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

Preview Lab → · Contrast checker → · Palette generator →

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