#B456E7#B456E7

#B456E7 is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 63.1% C 0.218 H 311.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B456E7
RGBrgb(180, 86, 231)
HSLhsl(279, 75%, 62%)
HSVhsv(279, 63%, 91%)
CMYKcmyk(22.1%, 62.8%, 0%, 9.4%)
CIE-LABlab(54.16, 61.24, -57.93)
CIE-LCHlch(54.16, 84.29, 316.59°)
OKLaboklab(63.14% 0.1449 -0.1631)
OKLCHoklch(63.14% 0.218 311.6)
XYZxyz(36.5713, 22.1293, 77.9307)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B456E7 #89E756
analogous
#6C56E7 #B456E7 #E756D1
triadic
#B456E7 #E7B456 #56E7B4
tetradic
#B456E7 #E76C56 #89E756 #56D1E7
square
#B456E7 #E76C56 #89E756 #56D1E7
split-complementary
#B456E7 #D1E756 #56E76C
monochromatic
#7718AA #9C20DF #B456E7 #CC8CEF #E4C1F6

Accessibility & contrast

On white

3.87
#B456E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#B456E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B456E7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B456E7#FFFFFF#000000##000000
##B456E71.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C7DEB
Deuteranopia (green-blind)
#4883E4
Tritanopia (blue-blind)
#AE7297
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b456e7;
/* rgb */ color: rgb(180, 86, 231);
/* oklch */ color: oklch(63.1% 0.218 311.6);
Tailwind
colors: {
  custom: {
    50: '#ce8bef',
    500: '#b456e7',
    950: '#000000',
  },
}
SCSS
$custom: #b456e7;
$custom-light: #ce8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#b456e7",
  "rgb": {
    "r": 180,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 278.897,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63136,
    "c": 0.21818,
    "h": 311.6
  },
  "luminance": 0.22128
}

Semantic roles & 50–950 ramp

primary
#B456E7
secondary
#C5E7B2
accent
#D70E55
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B456E7

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

Preview Lab → · Contrast checker → · Palette generator →

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