#B456EC#B456EC

#B456EC is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.4% C 0.223 H 310.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B456EC
RGBrgb(180, 86, 236)
HSLhsl(278, 80%, 63%)
HSVhsv(278, 64%, 93%)
CMYKcmyk(23.7%, 63.6%, 0%, 7.5%)
CIE-LABlab(54.47, 62.30, -60.25)
CIE-LCHlch(54.47, 86.67, 315.96°)
OKLaboklab(63.45% 0.1447 -0.17)
OKLCHoklch(63.45% 0.223 310.4)
XYZxyz(37.2876, 22.4158, 81.7030)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B456EC #8EEC56
analogous
#6956EC #B456EC #EC56D9
triadic
#B456EC #ECB456 #56ECB4
tetradic
#B456EC #EC6956 #8EEC56 #56D9EC
square
#B456EC #EC6956 #8EEC56 #56D9EC
split-complementary
#B456EC #D9EC56 #56EC69
monochromatic
#7814B3 #9C1FE6 #B456EC #CC8DF2 #E5C4F8

Accessibility & contrast

On white

3.83
#B456EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#B456EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B456EC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B456EC#FFFFFF#000000##000000
##B456EC1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF1
Deuteranopia (green-blind)
#4384E9
Tritanopia (blue-blind)
#AD749A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b456ec;
/* rgb */ color: rgb(180, 86, 236);
/* oklch */ color: oklch(63.4% 0.223 310.4);
Tailwind
colors: {
  custom: {
    50: '#ce8bf3',
    500: '#b456ec',
    950: '#000000',
  },
}
SCSS
$custom: #b456ec;
$custom-light: #ce8bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b456ec",
  "rgb": {
    "r": 180,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 277.6,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6345,
    "c": 0.22318,
    "h": 310.4
  },
  "luminance": 0.22415
}

Semantic roles & 50–950 ramp

primary
#B456EC
secondary
#C8EAB4
accent
#DC0958
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B456EC

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

Preview Lab → · Contrast checker → · Palette generator →

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