#B440B4#B440B4

#B440B4 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.6% C 0.201 H 327.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B440B4
RGBrgb(180, 64, 180)
HSLhsl(300, 48%, 48%)
HSVhsv(300, 64%, 71%)
CMYKcmyk(0%, 64.4%, 0%, 29.4%)
CIE-LABlab(47.84, 61.03, -38.76)
CIE-LCHlch(47.84, 72.30, 327.58°)
OKLaboklab(57.64% 0.1701 -0.1071)
OKLCHoklch(57.64% 0.201 327.8)
XYZxyz(28.8936, 16.6673, 44.8664)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B440B4 #40B440
analogous
#7A40B4 #B440B4 #B4407A
triadic
#B440B4 #B4B440 #40B4B4
tetradic
#B440B4 #B47A40 #40B440 #407AB4
square
#B440B4 #B47A40 #40B440 #407AB4
split-complementary
#B440B4 #7AB440 #40B47A
monochromatic
#5A205A #873087 #B440B4 #C968C9 #D995D9

Accessibility & contrast

On white

4.85
#B440B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B440B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B440B4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B440B4#FFFFFF#000000##FFFFFF
##B440B41.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3068B7
Deuteranopia (green-blind)
#5C77B1
Tritanopia (blue-blind)
#B95075
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b440b4;
/* rgb */ color: rgb(180, 64, 180);
/* oklch */ color: oklch(57.6% 0.201 327.8);
Tailwind
colors: {
  custom: {
    50: '#ce7ecb',
    500: '#b440b4',
    950: '#000000',
  },
}
SCSS
$custom: #b440b4;
$custom-light: #ce7ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#b440b4",
  "rgb": {
    "r": 180,
    "g": 64,
    "b": 180
  },
  "hsl": {
    "h": 300,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57639,
    "c": 0.20099,
    "h": 327.8
  },
  "luminance": 0.16665
}

Semantic roles & 50–950 ramp

primary
#B440B4
secondary
#8BC58B
accent
#D75151
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B440B4

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

Preview Lab → · Contrast checker → · Palette generator →

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