#B456F7#B456F7

#B456F7 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.2% C 0.234 H 307.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B456F7
RGBrgb(180, 86, 247)
HSLhsl(275, 91%, 65%)
HSVhsv(275, 65%, 97%)
CMYKcmyk(27.1%, 65.2%, 0%, 3.1%)
CIE-LABlab(55.15, 64.66, -65.29)
CIE-LCHlch(55.15, 91.89, 314.72°)
OKLaboklab(64.16% 0.1439 -0.1847)
OKLCHoklch(64.16% 0.234 307.9)
XYZxyz(38.9352, 23.0748, 90.3804)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B456F7 #99F756
analogous
#6356F7 #B456F7 #F756E9
triadic
#B456F7 #F7B456 #56F7B4
tetradic
#B456F7 #F76356 #99F756 #56E9F7
square
#B456F7 #F76356 #99F756 #56E9F7
split-complementary
#B456F7 #E9F756 #56F763
monochromatic
#790AC9 #9A1CF4 #B456F7 #CE90FA #E8CBFD

Accessibility & contrast

On white

3.74
#B456F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#B456F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B456F7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B456F7#FFFFFF#000000##000000
##B456F71.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FC
Deuteranopia (green-blind)
#3585F3
Tritanopia (blue-blind)
#AA78A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b456f7;
/* rgb */ color: rgb(180, 86, 247);
/* oklch */ color: oklch(64.2% 0.234 307.9);
Tailwind
colors: {
  custom: {
    50: '#cf8bfb',
    500: '#b456f7',
    950: '#000000',
  },
}
SCSS
$custom: #b456f7;
$custom-light: #cf8bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b456f7",
  "rgb": {
    "r": 180,
    "g": 86,
    "b": 247
  },
  "hsl": {
    "h": 275.031,
    "s": 90.96,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64161,
    "c": 0.2342,
    "h": 307.9
  },
  "luminance": 0.23074
}

Semantic roles & 50–950 ramp

primary
#B456F7
secondary
#D0F0B9
accent
#E60060
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B456F7

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

Preview Lab → · Contrast checker → · Palette generator →

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