#B457BD#B457BD

#B457BD is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.9% C 0.176 H 324.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B457BD
RGBrgb(180, 87, 189)
HSLhsl(295, 44%, 54%)
HSVhsv(295, 54%, 74%)
CMYKcmyk(4.8%, 54%, 0%, 25.9%)
CIE-LABlab(52.06, 52.35, -37.35)
CIE-LCHlch(52.06, 64.31, 324.50°)
OKLaboklab(60.86% 0.1421 -0.1032)
OKLCHoklch(60.86% 0.176 324)
XYZxyz(31.4151, 20.1954, 50.3776)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B457BD #60BD57
analogous
#8157BD #B457BD #BD5793
triadic
#B457BD #BDB457 #57BDB4
tetradic
#B457BD #BD8157 #60BD57 #5793BD
square
#B457BD #BD8157 #60BD57 #5793BD
split-complementary
#B457BD #93BD57 #57BD81
monochromatic
#682B6E #923D9A #B457BD #C883CE #DBAFE0

Accessibility & contrast

On white

4.17
#B457BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B457BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B457BD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B457BD#FFFFFF#000000##000000
##B457BD1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4875C0
Deuteranopia (green-blind)
#6680BA
Tritanopia (blue-blind)
#B76482
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b457bd;
/* rgb */ color: rgb(180, 87, 189);
/* oklch */ color: oklch(60.9% 0.176 324.0);
Tailwind
colors: {
  custom: {
    50: '#cd8bd1',
    500: '#b457bd',
    950: '#000000',
  },
}
SCSS
$custom: #b457bd;
$custom-light: #cd8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#b457bd",
  "rgb": {
    "r": 180,
    "g": 87,
    "b": 189
  },
  "hsl": {
    "h": 294.706,
    "s": 43.59,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60863,
    "c": 0.1756,
    "h": 324
  },
  "luminance": 0.20194
}

Semantic roles & 50–950 ramp

primary
#B457BD
secondary
#A6CEA2
accent
#D35460
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B457BD

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

Preview Lab → · Contrast checker → · Palette generator →

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