#B456EF#B456EF

#B456EF is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.6% C 0.226 H 309.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B456EF
RGBrgb(180, 86, 239)
HSLhsl(277, 83%, 64%)
HSVhsv(277, 64%, 94%)
CMYKcmyk(24.7%, 64%, 0%, 6.3%)
CIE-LABlab(54.65, 62.94, -61.63)
CIE-LCHlch(54.65, 88.09, 315.60°)
OKLaboklab(63.64% 0.1445 -0.174)
OKLCHoklch(63.64% 0.226 309.7)
XYZxyz(37.7271, 22.5916, 84.0178)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B456EF #91EF56
analogous
#6756EF #B456EF #EF56DD
triadic
#B456EF #EFB456 #56EFB4
tetradic
#B456EF #EF6756 #91EF56 #56DDEF
square
#B456EF #EF6756 #91EF56 #56DDEF
split-complementary
#B456EF #DDEF56 #56EF67
monochromatic
#7812B9 #9B1EEA #B456EF #CD8EF4 #E6C6FA

Accessibility & contrast

On white

3.81
#B456EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#B456EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B456EF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B456EF#FFFFFF#000000##000000
##B456EF1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#4084EC
Tritanopia (blue-blind)
#AC759B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b456ef;
/* rgb */ color: rgb(180, 86, 239);
/* oklch */ color: oklch(63.6% 0.226 309.7);
Tailwind
colors: {
  custom: {
    50: '#cf8bf5',
    500: '#b456ef',
    950: '#000000',
  },
}
SCSS
$custom: #b456ef;
$custom-light: #cf8bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#b456ef",
  "rgb": {
    "r": 180,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 276.863,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63641,
    "c": 0.22619,
    "h": 309.7
  },
  "luminance": 0.22591
}

Semantic roles & 50–950 ramp

primary
#B456EF
secondary
#CAEBB5
accent
#DF065A
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B456EF

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

Preview Lab → · Contrast checker → · Palette generator →

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