#B456E5#B456E5

#B456E5 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 63.0% C 0.216 H 312.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B456E5
RGBrgb(180, 86, 229)
HSLhsl(279, 73%, 62%)
HSVhsv(279, 62%, 90%)
CMYKcmyk(21.4%, 62.4%, 0%, 10.2%)
CIE-LABlab(54.04, 60.82, -56.99)
CIE-LCHlch(54.04, 83.35, 316.86°)
OKLaboklab(63.01% 0.1449 -0.1604)
OKLCHoklch(63.01% 0.216 312.1)
XYZxyz(36.2905, 22.0169, 76.4515)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B456E5 #87E556
analogous
#6D56E5 #B456E5 #E556CE
triadic
#B456E5 #E5B456 #56E5B4
tetradic
#B456E5 #E56D56 #87E556 #56CEE5
square
#B456E5 #E56D56 #87E556 #56CEE5
split-complementary
#B456E5 #CEE556 #56E56D
monochromatic
#771AA7 #9C22DC #B456E5 #CC8BED #E3C0F5

Accessibility & contrast

On white

3.89
#B456E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#B456E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B456E5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B456E5#FFFFFF#000000##000000
##B456E51.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#147CE9
Deuteranopia (green-blind)
#4A83E2
Tritanopia (blue-blind)
#AE7196
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b456e5;
/* rgb */ color: rgb(180, 86, 229);
/* oklch */ color: oklch(63.0% 0.216 312.1);
Tailwind
colors: {
  custom: {
    50: '#ce8bee',
    500: '#b456e5',
    950: '#000000',
  },
}
SCSS
$custom: #b456e5;
$custom-light: #ce8bee;
$custom-dark: #000000;
JSON
{
  "hex": "#b456e5",
  "rgb": {
    "r": 180,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 279.441,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63011,
    "c": 0.21619,
    "h": 312.1
  },
  "luminance": 0.22016
}

Semantic roles & 50–950 ramp

primary
#B456E5
secondary
#C3E6B1
accent
#D51054
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B456E5

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

Preview Lab → · Contrast checker → · Palette generator →

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