#B456ED#B456ED

#B456ED is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.5% C 0.224 H 310.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B456ED
RGBrgb(180, 86, 237)
HSLhsl(277, 81%, 63%)
HSVhsv(277, 64%, 93%)
CMYKcmyk(24.1%, 63.7%, 0%, 7.1%)
CIE-LABlab(54.53, 62.51, -60.71)
CIE-LCHlch(54.53, 87.14, 315.84°)
OKLaboklab(63.51% 0.1446 -0.1713)
OKLCHoklch(63.51% 0.224 310.2)
XYZxyz(37.4333, 22.4741, 82.4703)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B456ED #8FED56
analogous
#6856ED #B456ED #ED56DA
triadic
#B456ED #EDB456 #56EDB4
tetradic
#B456ED #ED6856 #8FED56 #56DAED
square
#B456ED #ED6856 #8FED56 #56DAED
split-complementary
#B456ED #DAED56 #56ED68
monochromatic
#7813B5 #9B1FE7 #B456ED #CD8DF3 #E5C5F9

Accessibility & contrast

On white

3.82
#B456ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#B456ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B456ED
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B456ED#FFFFFF#000000##000000
##B456ED1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF2
Deuteranopia (green-blind)
#4284EA
Tritanopia (blue-blind)
#AC749A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b456ed;
/* rgb */ color: rgb(180, 86, 237);
/* oklch */ color: oklch(63.5% 0.224 310.2);
Tailwind
colors: {
  custom: {
    50: '#ce8bf4',
    500: '#b456ed',
    950: '#000000',
  },
}
SCSS
$custom: #b456ed;
$custom-light: #ce8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b456ed",
  "rgb": {
    "r": 180,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 277.351,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63513,
    "c": 0.22419,
    "h": 310.2
  },
  "luminance": 0.22473
}

Semantic roles & 50–950 ramp

primary
#B456ED
secondary
#C9EAB4
accent
#DD0859
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B456ED

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

Preview Lab → · Contrast checker → · Palette generator →

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