#B440BD#B440BD

#B440BD is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.1% C 0.208 H 324.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B440BD
RGBrgb(180, 64, 189)
HSLhsl(296, 49%, 50%)
HSVhsv(296, 66%, 74%)
CMYKcmyk(4.8%, 66.1%, 0%, 25.9%)
CIE-LABlab(48.32, 62.60, -43.26)
CIE-LCHlch(48.32, 76.09, 325.35°)
OKLaboklab(58.14% 0.1704 -0.1201)
OKLCHoklch(58.14% 0.208 324.8)
XYZxyz(29.8404, 17.0460, 49.8527)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B440BD #49BD40
analogous
#7640BD #B440BD #BD4088
triadic
#B440BD #BDB440 #40BDB4
tetradic
#B440BD #BD7640 #49BD40 #4088BD
square
#B440BD #BD7640 #49BD40 #4088BD
split-complementary
#B440BD #88BD40 #40BD76
monochromatic
#5D2162 #88318F #B440BD #C76DCD #D89ADD

Accessibility & contrast

On white

4.76
#B440BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B440BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B440BD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B440BD#FFFFFF#000000##FFFFFF
##B440BD1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266AC1
Deuteranopia (green-blind)
#5778BA
Tritanopia (blue-blind)
#B85379
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b440bd;
/* rgb */ color: rgb(180, 64, 189);
/* oklch */ color: oklch(58.1% 0.208 324.8);
Tailwind
colors: {
  custom: {
    50: '#ce7ed1',
    500: '#b440bd',
    950: '#000000',
  },
}
SCSS
$custom: #b440bd;
$custom-light: #ce7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#b440bd",
  "rgb": {
    "r": 180,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 295.68,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58141,
    "c": 0.20848,
    "h": 324.8
  },
  "luminance": 0.17044
}

Semantic roles & 50–950 ramp

primary
#B440BD
secondary
#94C990
accent
#D94F59
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B440BD

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

Preview Lab → · Contrast checker → · Palette generator →

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