#B456E8#B456E8

#B456E8 is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.2% C 0.219 H 311.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B456E8
RGBrgb(180, 86, 232)
HSLhsl(279, 76%, 62%)
HSVhsv(279, 63%, 91%)
CMYKcmyk(22.4%, 62.9%, 0%, 9%)
CIE-LABlab(54.22, 61.45, -58.39)
CIE-LCHlch(54.22, 84.77, 316.46°)
OKLaboklab(63.2% 0.1448 -0.1645)
OKLCHoklch(63.2% 0.219 311.4)
XYZxyz(36.7130, 22.1859, 78.6766)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B456E8 #8AE856
analogous
#6B56E8 #B456E8 #E856D3
triadic
#B456E8 #E8B456 #56E8B4
tetradic
#B456E8 #E86B56 #8AE856 #56D3E8
square
#B456E8 #E86B56 #8AE856 #56D3E8
split-complementary
#B456E8 #D3E856 #56E86B
monochromatic
#7717AC #9C20E1 #B456E8 #CC8CEF #E4C2F7

Accessibility & contrast

On white

3.86
#B456E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#B456E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B456E8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B456E8#FFFFFF#000000##000000
##B456E81.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#077DEC
Deuteranopia (green-blind)
#4783E5
Tritanopia (blue-blind)
#AE7398
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b456e8;
/* rgb */ color: rgb(180, 86, 232);
/* oklch */ color: oklch(63.2% 0.219 311.4);
Tailwind
colors: {
  custom: {
    50: '#ce8bf0',
    500: '#b456e8',
    950: '#000000',
  },
}
SCSS
$custom: #b456e8;
$custom-light: #ce8bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#b456e8",
  "rgb": {
    "r": 180,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 278.63,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63198,
    "c": 0.21919,
    "h": 311.4
  },
  "luminance": 0.22185
}

Semantic roles & 50–950 ramp

primary
#B456E8
secondary
#C5E8B2
accent
#D80D56
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B456E8

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

Preview Lab → · Contrast checker → · Palette generator →

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