#B456EE#B456EE

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

Color values

HEX#B456EE
RGBrgb(180, 86, 238)
HSLhsl(277, 82%, 64%)
HSVhsv(277, 64%, 93%)
CMYKcmyk(24.4%, 63.9%, 0%, 6.7%)
CIE-LABlab(54.59, 62.72, -61.17)
CIE-LCHlch(54.59, 87.61, 315.72°)
OKLaboklab(63.58% 0.1445 -0.1727)
OKLCHoklch(63.58% 0.225 309.9)
XYZxyz(37.5798, 22.5327, 83.2419)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B456EE #90EE56
analogous
#6856EE #B456EE #EE56DC
triadic
#B456EE #EEB456 #56EEB4
tetradic
#B456EE #EE6856 #90EE56 #56DCEE
square
#B456EE #EE6856 #90EE56 #56DCEE
split-complementary
#B456EE #DCEE56 #56EE68
monochromatic
#7812B7 #9B1EE8 #B456EE #CD8EF4 #E5C5F9

Accessibility & contrast

On white

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

On black

5.51
#B456EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B456EE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B456EE#FFFFFF#000000##000000
##B456EE1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF3
Deuteranopia (green-blind)
#4184EB
Tritanopia (blue-blind)
#AC759B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b456ee;
/* rgb */ color: rgb(180, 86, 238);
/* oklch */ color: oklch(63.6% 0.225 309.9);
Tailwind
colors: {
  custom: {
    50: '#cf8bf4',
    500: '#b456ee',
    950: '#000000',
  },
}
SCSS
$custom: #b456ee;
$custom-light: #cf8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b456ee",
  "rgb": {
    "r": 180,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 277.105,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63577,
    "c": 0.22518,
    "h": 309.9
  },
  "luminance": 0.22532
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B456EE

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

Preview Lab → · Contrast checker → · Palette generator →

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