#B456CD#B456CD

#B456CD is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.6% C 0.192 H 318.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B456CD
RGBrgb(180, 86, 205)
HSLhsl(287, 54%, 57%)
HSVhsv(287, 58%, 80%)
CMYKcmyk(12.2%, 58%, 0%, 19.6%)
CIE-LABlab(52.69, 55.92, -45.54)
CIE-LCHlch(52.69, 72.12, 320.84°)
OKLaboklab(61.6% 0.1447 -0.1269)
OKLCHoklch(61.6% 0.192 318.7)
XYZxyz(33.1682, 20.7680, 60.0073)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B456CD #6FCD56
analogous
#7956CD #B456CD #CD56AB
triadic
#B456CD #CDB456 #56CDB4
tetradic
#B456CD #CD7956 #6FCD56 #56ABCD
square
#B456CD #CD7956 #6FCD56 #56ABCD
split-complementary
#B456CD #ABCD56 #56CD79
monochromatic
#6F2682 #9734B1 #B456CD #C985DB #DEB4E9

Accessibility & contrast

On white

4.07
#B456CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#B456CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B456CD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B456CD#FFFFFF#000000##000000
##B456CD1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A77D1
Deuteranopia (green-blind)
#5D81CA
Tritanopia (blue-blind)
#B46989
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b456cd;
/* rgb */ color: rgb(180, 86, 205);
/* oklch */ color: oklch(61.6% 0.192 318.7);
Tailwind
colors: {
  custom: {
    50: '#cd8add',
    500: '#b456cd',
    950: '#000000',
  },
}
SCSS
$custom: #b456cd;
$custom-light: #cd8add;
$custom-dark: #000000;
JSON
{
  "hex": "#b456cd",
  "rgb": {
    "r": 180,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 287.395,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61595,
    "c": 0.19247,
    "h": 318.7
  },
  "luminance": 0.20767
}

Semantic roles & 50–950 ramp

primary
#B456CD
secondary
#B1D8A7
accent
#DE4A69
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B456CD

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

Preview Lab → · Contrast checker → · Palette generator →

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