#B456F5#B456F5

#B456F5 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 64.0% C 0.232 H 308.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B456F5
RGBrgb(180, 86, 245)
HSLhsl(275, 89%, 65%)
HSVhsv(275, 65%, 96%)
CMYKcmyk(26.5%, 64.9%, 0%, 3.9%)
CIE-LABlab(55.02, 64.23, -64.38)
CIE-LCHlch(55.02, 90.94, 314.93°)
OKLaboklab(64.03% 0.1441 -0.1821)
OKLCHoklch(64.03% 0.232 308.4)
XYZxyz(38.6283, 22.9520, 88.7637)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B456F5 #97F556
analogous
#6556F5 #B456F5 #F556E6
triadic
#B456F5 #F5B456 #56F5B4
tetradic
#B456F5 #F56556 #97F556 #56E6F5
square
#B456F5 #F56556 #97F556 #56E6F5
split-complementary
#B456F5 #E6F556 #56F565
monochromatic
#790CC5 #9A1CF2 #B456F5 #CE90F8 #E7CAFC

Accessibility & contrast

On white

3.76
#B456F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#B456F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B456F5
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B456F5#FFFFFF#000000##000000
##B456F51.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FA
Deuteranopia (green-blind)
#3885F1
Tritanopia (blue-blind)
#AA779E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b456f5;
/* rgb */ color: rgb(180, 86, 245);
/* oklch */ color: oklch(64.0% 0.232 308.4);
Tailwind
colors: {
  custom: {
    50: '#cf8bf9',
    500: '#b456f5',
    950: '#000000',
  },
}
SCSS
$custom: #b456f5;
$custom-light: #cf8bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b456f5",
  "rgb": {
    "r": 180,
    "g": 86,
    "b": 245
  },
  "hsl": {
    "h": 275.472,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64029,
    "c": 0.23219,
    "h": 308.4
  },
  "luminance": 0.22951
}

Semantic roles & 50–950 ramp

primary
#B456F5
secondary
#CEEFB8
accent
#E5005E
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B456F5

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

Preview Lab → · Contrast checker → · Palette generator →

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