#B456FB#B456FB

#B456FB is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.4% C 0.238 H 307.1°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B456FB
RGBrgb(180, 86, 251)
HSLhsl(274, 95%, 66%)
HSVhsv(274, 66%, 98%)
CMYKcmyk(28.3%, 65.7%, 0%, 1.6%)
CIE-LABlab(55.40, 65.53, -67.10)
CIE-LCHlch(55.40, 93.79, 314.32°)
OKLaboklab(64.43% 0.1436 -0.1901)
OKLCHoklch(64.43% 0.238 307.1)
XYZxyz(39.5591, 23.3244, 93.6661)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B456FB #9DFB56
analogous
#6156FB #B456FB #FB56EF
triadic
#B456FB #FBB456 #56FBB4
tetradic
#B456FB #FB6156 #9DFB56 #56EFFB
square
#B456FB #FB6156 #9DFB56 #56EFFB
split-complementary
#B456FB #EFFB56 #56FB61
monochromatic
#7A05D2 #991AFA #B456FB #CF92FC #E9CEFE

Accessibility & contrast

On white

3.71
#B456FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#B456FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B456FB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B456FB#FFFFFF#000000##000000
##B456FB1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#2E85F7
Tritanopia (blue-blind)
#A87AA2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b456fb;
/* rgb */ color: rgb(180, 86, 251);
/* oklch */ color: oklch(64.4% 0.238 307.1);
Tailwind
colors: {
  custom: {
    50: '#cf8cfd',
    500: '#b456fb',
    950: '#000000',
  },
}
SCSS
$custom: #b456fb;
$custom-light: #cf8cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b456fb",
  "rgb": {
    "r": 180,
    "g": 86,
    "b": 251
  },
  "hsl": {
    "h": 274.182,
    "s": 95.376,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64425,
    "c": 0.23821,
    "h": 307.1
  },
  "luminance": 0.23324
}

Semantic roles & 50–950 ramp

primary
#B456FB
secondary
#D3F2BB
accent
#E60063
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B456FB

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

Preview Lab → · Contrast checker → · Palette generator →

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