#B856EF#B856EF

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

Color values

HEX#B856EF
RGBrgb(184, 86, 239)
HSLhsl(278, 83%, 64%)
HSVhsv(278, 64%, 94%)
CMYKcmyk(23%, 64%, 0%, 6.3%)
CIE-LABlab(55.15, 63.81, -60.80)
CIE-LCHlch(55.15, 88.13, 316.38°)
OKLaboklab(64.11% 0.1495 -0.1714)
OKLCHoklch(64.11% 0.227 311.1)
XYZxyz(38.6720, 23.0788, 84.0621)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B856EF #8DEF56
analogous
#6B56EF #B856EF #EF56DA
triadic
#B856EF #EFB856 #56EFB8
tetradic
#B856EF #EF6B56 #8DEF56 #56DAEF
square
#B856EF #EF6B56 #8DEF56 #56DAEF
split-complementary
#B856EF #DAEF56 #56EF6B
monochromatic
#7D12B9 #A11EEA #B856EF #CF8EF4 #E7C6FA

Accessibility & contrast

On white

3.74
#B856EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#B856EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B856EF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B856EF#FFFFFF#000000##000000
##B856EF1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#4586EB
Tritanopia (blue-blind)
#B1759B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b856ef;
/* rgb */ color: rgb(184, 86, 239);
/* oklch */ color: oklch(64.1% 0.227 311.1);
Tailwind
colors: {
  custom: {
    50: '#d18cf5',
    500: '#b856ef',
    950: '#000000',
  },
}
SCSS
$custom: #b856ef;
$custom-light: #d18cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#b856ef",
  "rgb": {
    "r": 184,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 278.431,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64112,
    "c": 0.22744,
    "h": 311.1
  },
  "luminance": 0.23078
}

Semantic roles & 50–950 ramp

primary
#B856EF
secondary
#C9EBB5
accent
#DF0654
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B856EF

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

Preview Lab → · Contrast checker → · Palette generator →

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