#B456C8#B456C8

#B456C8 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.3% C 0.188 H 320.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B456C8
RGBrgb(180, 86, 200)
HSLhsl(289, 51%, 56%)
HSVhsv(289, 57%, 78%)
CMYKcmyk(10%, 57%, 0%, 21.6%)
CIE-LABlab(52.43, 54.94, -43.09)
CIE-LCHlch(52.43, 69.82, 321.89°)
OKLaboklab(61.32% 0.1444 -0.1198)
OKLCHoklch(61.32% 0.188 320.3)
XYZxyz(32.5742, 20.5304, 56.8793)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B456C8 #6AC856
analogous
#7B56C8 #B456C8 #C856A3
triadic
#B456C8 #C8B456 #56C8B4
tetradic
#B456C8 #C87B56 #6AC856 #56A3C8
square
#B456C8 #C87B56 #6AC856 #56A3C8
split-complementary
#B456C8 #A3C856 #56C87B
monochromatic
#6D287B #9637AA #B456C8 #C884D7 #DDB2E6

Accessibility & contrast

On white

4.11
#B456C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#B456C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B456C8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B456C8#FFFFFF#000000##000000
##B456C81.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F76CC
Deuteranopia (green-blind)
#6081C5
Tritanopia (blue-blind)
#B56787
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b456c8;
/* rgb */ color: rgb(180, 86, 200);
/* oklch */ color: oklch(61.3% 0.188 320.3);
Tailwind
colors: {
  custom: {
    50: '#cd8ad9',
    500: '#b456c8',
    950: '#000000',
  },
}
SCSS
$custom: #b456c8;
$custom-light: #cd8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#b456c8",
  "rgb": {
    "r": 180,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 289.474,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61318,
    "c": 0.18762,
    "h": 320.3
  },
  "luminance": 0.20529
}

Semantic roles & 50–950 ramp

primary
#B456C8
secondary
#AED4A5
accent
#DA4D66
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C15
muted
#827D83

Preview Lab

Preview with #B456C8

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

Preview Lab → · Contrast checker → · Palette generator →

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