#B856ED#B856ED

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

Color values

HEX#B856ED
RGBrgb(184, 86, 237)
HSLhsl(279, 81%, 63%)
HSVhsv(279, 64%, 93%)
CMYKcmyk(22.4%, 63.7%, 0%, 7.1%)
CIE-LABlab(55.03, 63.39, -59.87)
CIE-LCHlch(55.03, 87.19, 316.63°)
OKLaboklab(63.99% 0.1495 -0.1687)
OKLCHoklch(63.99% 0.225 311.6)
XYZxyz(38.3782, 22.9613, 82.5146)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B856ED #8BED56
analogous
#6C56ED #B856ED #ED56D7
triadic
#B856ED #EDB856 #56EDB8
tetradic
#B856ED #ED6C56 #8BED56 #56D7ED
square
#B856ED #ED6C56 #8BED56 #56D7ED
split-complementary
#B856ED #D7ED56 #56ED6C
monochromatic
#7C13B5 #A11FE7 #B856ED #CF8DF3 #E6C5F9

Accessibility & contrast

On white

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

On black

5.59
#B856ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B856ED
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B856ED#FFFFFF#000000##000000
##B856ED1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b856ed;
/* rgb */ color: rgb(184, 86, 237);
/* oklch */ color: oklch(64.0% 0.225 311.6);
Tailwind
colors: {
  custom: {
    50: '#d18bf4',
    500: '#b856ed',
    950: '#000000',
  },
}
SCSS
$custom: #b856ed;
$custom-light: #d18bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b856ed",
  "rgb": {
    "r": 184,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 278.94,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63986,
    "c": 0.22547,
    "h": 311.6
  },
  "luminance": 0.2296
}

Semantic roles & 50–950 ramp

primary
#B856ED
secondary
#C7EAB4
accent
#DD0853
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B856ED

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

Preview Lab → · Contrast checker → · Palette generator →

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