#B456BF#B456BF

#B456BF is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.8% C 0.179 H 323.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B456BF
RGBrgb(180, 86, 191)
HSLhsl(294, 45%, 54%)
HSVhsv(294, 55%, 75%)
CMYKcmyk(5.8%, 55%, 0%, 25.1%)
CIE-LABlab(51.97, 53.21, -38.63)
CIE-LCHlch(51.97, 65.76, 324.02°)
OKLaboklab(60.83% 0.1436 -0.1069)
OKLCHoklch(60.83% 0.179 323.3)
XYZxyz(31.5532, 20.1220, 51.5020)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B456BF #61BF56
analogous
#8056BF #B456BF #BF5696
triadic
#B456BF #BFB456 #56BFB4
tetradic
#B456BF #BF8056 #61BF56 #5696BF
square
#B456BF #BF8056 #61BF56 #5696BF
split-complementary
#B456BF #96BF56 #56BF80
monochromatic
#692A70 #923B9D #B456BF #C882D0 #DBAFE1

Accessibility & contrast

On white

4.18
#B456BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B456BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B456BF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B456BF#FFFFFF#000000##000000
##B456BF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4675C2
Deuteranopia (green-blind)
#6580BC
Tritanopia (blue-blind)
#B76482
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b456bf;
/* rgb */ color: rgb(180, 86, 191);
/* oklch */ color: oklch(60.8% 0.179 323.3);
Tailwind
colors: {
  custom: {
    50: '#cd8ad3',
    500: '#b456bf',
    950: '#000000',
  },
}
SCSS
$custom: #b456bf;
$custom-light: #cd8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#b456bf",
  "rgb": {
    "r": 180,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 293.714,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60835,
    "c": 0.17904,
    "h": 323.3
  },
  "luminance": 0.2012
}

Semantic roles & 50–950 ramp

primary
#B456BF
secondary
#A7CFA2
accent
#D55361
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B456BF

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

Preview Lab → · Contrast checker → · Palette generator →

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