#B856EC#B856EC

#B856EC is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.9% C 0.224 H 311.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B856EC
RGBrgb(184, 86, 236)
HSLhsl(279, 80%, 63%)
HSVhsv(279, 64%, 93%)
CMYKcmyk(22%, 63.6%, 0%, 7.5%)
CIE-LABlab(54.97, 63.18, -59.41)
CIE-LCHlch(54.97, 86.72, 316.76°)
OKLaboklab(63.92% 0.1496 -0.1674)
OKLCHoklch(63.92% 0.224 311.8)
XYZxyz(38.2325, 22.9030, 81.7473)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B856EC #8AEC56
analogous
#6D56EC #B856EC #EC56D5
triadic
#B856EC #ECB856 #56ECB8
tetradic
#B856EC #EC6D56 #8AEC56 #56D5EC
square
#B856EC #EC6D56 #8AEC56 #56D5EC
split-complementary
#B856EC #D5EC56 #56EC6D
monochromatic
#7C14B3 #A11FE6 #B856EC #CF8DF2 #E6C4F8

Accessibility & contrast

On white

3.76
#B856EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#B856EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B856EC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B856EC#FFFFFF#000000##000000
##B856EC1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF1
Deuteranopia (green-blind)
#4886E9
Tritanopia (blue-blind)
#B2739A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b856ec;
/* rgb */ color: rgb(184, 86, 236);
/* oklch */ color: oklch(63.9% 0.224 311.8);
Tailwind
colors: {
  custom: {
    50: '#d18bf3',
    500: '#b856ec',
    950: '#000000',
  },
}
SCSS
$custom: #b856ec;
$custom-light: #d18bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b856ec",
  "rgb": {
    "r": 184,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 279.2,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63924,
    "c": 0.22448,
    "h": 311.8
  },
  "luminance": 0.22902
}

Semantic roles & 50–950 ramp

primary
#B856EC
secondary
#C7EAB4
accent
#DC0952
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B856EC

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

Preview Lab → · Contrast checker → · Palette generator →

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