#B440AB#B440AB

#B440AB is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.2% C 0.194 H 331.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B440AB
RGBrgb(180, 64, 171)
HSLhsl(305, 48%, 48%)
HSVhsv(305, 64%, 71%)
CMYKcmyk(0%, 64.4%, 5%, 29.4%)
CIE-LABlab(47.38, 59.52, -34.19)
CIE-LCHlch(47.38, 68.64, 330.12°)
OKLaboklab(57.16% 0.1694 -0.0939)
OKLCHoklch(57.16% 0.194 331)
XYZxyz(28.0064, 16.3124, 40.1937)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B440AB #40B449
analogous
#8340B4 #B440AB #B44071
triadic
#B440AB #ABB440 #40ABB4
tetradic
#B440AB #B48340 #40B449 #4071B4
square
#B440AB #B48340 #40B449 #4071B4
split-complementary
#B440AB #71B440 #40B483
monochromatic
#5A2055 #873080 #B440AB #C968C2 #D995D4

Accessibility & contrast

On white

4.93
#B440AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B440AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B440AB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B440AB#FFFFFF#000000##FFFFFF
##B440AB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3866AE
Deuteranopia (green-blind)
#6176A8
Tritanopia (blue-blind)
#BB4C70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b440ab;
/* rgb */ color: rgb(180, 64, 171);
/* oklch */ color: oklch(57.2% 0.194 331.0);
Tailwind
colors: {
  custom: {
    50: '#ce7dc4',
    500: '#b440ab',
    950: '#000000',
  },
}
SCSS
$custom: #b440ab;
$custom-light: #ce7dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#b440ab",
  "rgb": {
    "r": 180,
    "g": 64,
    "b": 171
  },
  "hsl": {
    "h": 304.655,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57161,
    "c": 0.19372,
    "h": 331
  },
  "luminance": 0.1631
}

Semantic roles & 50–950 ramp

primary
#B440AB
secondary
#8BC58F
accent
#D75B51
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B440AB

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

Preview Lab → · Contrast checker → · Palette generator →

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