#B456EB#B456EB

#B456EB is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.4% C 0.222 H 310.6°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B456EB
RGBrgb(180, 86, 235)
HSLhsl(278, 79%, 63%)
HSVhsv(278, 63%, 92%)
CMYKcmyk(23.4%, 63.4%, 0%, 7.8%)
CIE-LABlab(54.40, 62.08, -59.79)
CIE-LCHlch(54.40, 86.19, 316.08°)
OKLaboklab(63.39% 0.1447 -0.1686)
OKLCHoklch(63.39% 0.222 310.6)
XYZxyz(37.1427, 22.3578, 80.9400)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B456EB #8DEB56
analogous
#6956EB #B456EB #EB56D8
triadic
#B456EB #EBB456 #56EBB4
tetradic
#B456EB #EB6956 #8DEB56 #56D8EB
square
#B456EB #EB6956 #8DEB56 #56D8EB
split-complementary
#B456EB #D8EB56 #56EB69
monochromatic
#7815B2 #9C1FE5 #B456EB #CC8DF1 #E5C3F8

Accessibility & contrast

On white

3.84
#B456EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#B456EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B456EB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B456EB#FFFFFF#000000##000000
##B456EB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#4484E8
Tritanopia (blue-blind)
#AD7499
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b456eb;
/* rgb */ color: rgb(180, 86, 235);
/* oklch */ color: oklch(63.4% 0.222 310.6);
Tailwind
colors: {
  custom: {
    50: '#ce8bf2',
    500: '#b456eb',
    950: '#000000',
  },
}
SCSS
$custom: #b456eb;
$custom-light: #ce8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b456eb",
  "rgb": {
    "r": 180,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 277.852,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63387,
    "c": 0.22218,
    "h": 310.6
  },
  "luminance": 0.22357
}

Semantic roles & 50–950 ramp

primary
#B456EB
secondary
#C7E9B4
accent
#DB0A57
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B456EB

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

Preview Lab → · Contrast checker → · Palette generator →

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