#B456F1#B456F1

#B456F1 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.8% C 0.228 H 309.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B456F1
RGBrgb(180, 86, 241)
HSLhsl(276, 85%, 64%)
HSVhsv(276, 64%, 95%)
CMYKcmyk(25.3%, 64.3%, 0%, 5.5%)
CIE-LABlab(54.77, 63.37, -62.55)
CIE-LCHlch(54.77, 89.04, 315.37°)
OKLaboklab(63.77% 0.1444 -0.1767)
OKLCHoklch(63.77% 0.228 309.2)
XYZxyz(38.0242, 22.7104, 85.5825)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B456F1 #93F156
analogous
#6756F1 #B456F1 #F156E1
triadic
#B456F1 #F1B456 #56F1B4
tetradic
#B456F1 #F16756 #93F156 #56E1F1
square
#B456F1 #F16756 #93F156 #56E1F1
split-complementary
#B456F1 #E1F156 #56F167
monochromatic
#7910BD #9B1DEC #B456F1 #CD8FF6 #E6C7FA

Accessibility & contrast

On white

3.79
#B456F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#B456F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B456F1
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B456F1#FFFFFF#000000##000000
##B456F11.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF6
Deuteranopia (green-blind)
#3D84ED
Tritanopia (blue-blind)
#AB769C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b456f1;
/* rgb */ color: rgb(180, 86, 241);
/* oklch */ color: oklch(63.8% 0.228 309.2);
Tailwind
colors: {
  custom: {
    50: '#cf8bf6',
    500: '#b456f1',
    950: '#000000',
  },
}
SCSS
$custom: #b456f1;
$custom-light: #cf8bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b456f1",
  "rgb": {
    "r": 180,
    "g": 86,
    "b": 241
  },
  "hsl": {
    "h": 276.387,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6377,
    "c": 0.22819,
    "h": 309.2
  },
  "luminance": 0.2271
}

Semantic roles & 50–950 ramp

primary
#B456F1
secondary
#CCECB6
accent
#E1045B
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B456F1

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

Preview Lab → · Contrast checker → · Palette generator →

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