#B456D2#B456D2

#B456D2 is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.9% C 0.197 H 317.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B456D2
RGBrgb(180, 86, 210)
HSLhsl(285, 58%, 58%)
HSVhsv(285, 59%, 82%)
CMYKcmyk(14.3%, 59%, 0%, 17.6%)
CIE-LABlab(52.96, 56.91, -47.96)
CIE-LCHlch(52.96, 74.43, 319.88°)
OKLaboklab(61.88% 0.1449 -0.134)
OKLCHoklch(61.88% 0.197 317.2)
XYZxyz(33.7814, 21.0133, 63.2368)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B456D2 #74D256
analogous
#7656D2 #B456D2 #D256B2
triadic
#B456D2 #D2B456 #56D2B4
tetradic
#B456D2 #D27656 #74D256 #56B2D2
square
#B456D2 #D27656 #74D256 #56B2D2
split-complementary
#B456D2 #B2D256 #56D276
monochromatic
#712589 #9931B9 #B456D2 #C986DF #DFB7EC

Accessibility & contrast

On white

4.04
#B456D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#B456D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B456D2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B456D2#FFFFFF#000000##000000
##B456D21.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3578D6
Deuteranopia (green-blind)
#5981CF
Tritanopia (blue-blind)
#B36B8C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b456d2;
/* rgb */ color: rgb(180, 86, 210);
/* oklch */ color: oklch(61.9% 0.197 317.2);
Tailwind
colors: {
  custom: {
    50: '#cd8ae0',
    500: '#b456d2',
    950: '#000000',
  },
}
SCSS
$custom: #b456d2;
$custom-light: #cd8ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#b456d2",
  "rgb": {
    "r": 180,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 285.484,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61879,
    "c": 0.19736,
    "h": 317.2
  },
  "luminance": 0.21012
}

Semantic roles & 50–950 ramp

primary
#B456D2
secondary
#B5DBA9
accent
#E1476C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B456D2

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

Preview Lab → · Contrast checker → · Palette generator →

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