#B856EE#B856EE

#B856EE is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 64.0% C 0.226 H 311.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B856EE
RGBrgb(184, 86, 238)
HSLhsl(279, 82%, 64%)
HSVhsv(279, 64%, 93%)
CMYKcmyk(22.7%, 63.9%, 0%, 6.7%)
CIE-LABlab(55.09, 63.60, -60.33)
CIE-LCHlch(55.09, 87.66, 316.51°)
OKLaboklab(64.05% 0.1495 -0.1701)
OKLCHoklch(64.05% 0.226 311.3)
XYZxyz(38.5247, 23.0199, 83.2862)
Luminance0.2302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B856EE #8CEE56
analogous
#6C56EE #B856EE #EE56D8
triadic
#B856EE #EEB856 #56EEB8
tetradic
#B856EE #EE6C56 #8CEE56 #56D8EE
square
#B856EE #EE6C56 #8CEE56 #56D8EE
split-complementary
#B856EE #D8EE56 #56EE6C
monochromatic
#7D12B7 #A11EE8 #B856EE #CF8EF4 #E7C5F9

Accessibility & contrast

On white

3.75
#B856EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#B856EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B856EE
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B856EE#FFFFFF#000000##000000
##B856EE1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b856ee;
/* rgb */ color: rgb(184, 86, 238);
/* oklch */ color: oklch(64.0% 0.226 311.3);
Tailwind
colors: {
  custom: {
    50: '#d18bf4',
    500: '#b856ee',
    950: '#000000',
  },
}
SCSS
$custom: #b856ee;
$custom-light: #d18bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b856ee",
  "rgb": {
    "r": 184,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 278.684,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64049,
    "c": 0.22645,
    "h": 311.3
  },
  "luminance": 0.23019
}

Semantic roles & 50–950 ramp

primary
#B856EE
secondary
#C8EBB5
accent
#DE0754
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B856EE

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

Preview Lab → · Contrast checker → · Palette generator →

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