#B856EB#B856EB

#B856EB is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.9% C 0.223 H 312.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B856EB
RGBrgb(184, 86, 235)
HSLhsl(279, 79%, 63%)
HSVhsv(279, 63%, 92%)
CMYKcmyk(21.7%, 63.4%, 0%, 7.8%)
CIE-LABlab(54.91, 62.97, -58.95)
CIE-LCHlch(54.91, 86.25, 316.89°)
OKLaboklab(63.86% 0.1496 -0.166)
OKLCHoklch(63.86% 0.223 312)
XYZxyz(38.0876, 22.8451, 80.9843)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B856EB #89EB56
analogous
#6D56EB #B856EB #EB56D4
triadic
#B856EB #EBB856 #56EBB8
tetradic
#B856EB #EB6D56 #89EB56 #56D4EB
square
#B856EB #EB6D56 #89EB56 #56D4EB
split-complementary
#B856EB #D4EB56 #56EB6D
monochromatic
#7C15B2 #A11FE5 #B856EB #CF8DF1 #E6C3F8

Accessibility & contrast

On white

3.77
#B856EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#B856EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B856EB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B856EB#FFFFFF#000000##000000
##B856EB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#027FF0
Deuteranopia (green-blind)
#4985E8
Tritanopia (blue-blind)
#B27399
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b856eb;
/* rgb */ color: rgb(184, 86, 235);
/* oklch */ color: oklch(63.9% 0.223 312.0);
Tailwind
colors: {
  custom: {
    50: '#d18bf2',
    500: '#b856eb',
    950: '#000000',
  },
}
SCSS
$custom: #b856eb;
$custom-light: #d18bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b856eb",
  "rgb": {
    "r": 184,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 279.463,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63861,
    "c": 0.22349,
    "h": 312
  },
  "luminance": 0.22844
}

Semantic roles & 50–950 ramp

primary
#B856EB
secondary
#C6E9B4
accent
#DB0A52
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B856EB

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

Preview Lab → · Contrast checker → · Palette generator →

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