#B440B2#B440B2

#B440B2 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.5% C 0.199 H 328.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B440B2
RGBrgb(180, 64, 178)
HSLhsl(301, 48%, 48%)
HSVhsv(301, 64%, 71%)
CMYKcmyk(0%, 64.4%, 1.1%, 29.4%)
CIE-LABlab(47.73, 60.69, -37.75)
CIE-LCHlch(47.73, 71.47, 328.12°)
OKLaboklab(57.53% 0.17 -0.1042)
OKLCHoklch(57.53% 0.199 328.5)
XYZxyz(28.6913, 16.5864, 43.8012)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B440B2 #40B442
analogous
#7C40B4 #B440B2 #B44078
triadic
#B440B2 #B2B440 #40B2B4
tetradic
#B440B2 #B47C40 #40B442 #4078B4
square
#B440B2 #B47C40 #40B442 #4078B4
split-complementary
#B440B2 #78B440 #40B47C
monochromatic
#5A2059 #873085 #B440B2 #C968C8 #D995D8

Accessibility & contrast

On white

4.86
#B440B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#B440B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B440B2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B440B2#FFFFFF#000000##FFFFFF
##B440B21.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#5D77AF
Tritanopia (blue-blind)
#BA4F73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b440b2;
/* rgb */ color: rgb(180, 64, 178);
/* oklch */ color: oklch(57.5% 0.199 328.5);
Tailwind
colors: {
  custom: {
    50: '#ce7dc9',
    500: '#b440b2',
    950: '#000000',
  },
}
SCSS
$custom: #b440b2;
$custom-light: #ce7dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b440b2",
  "rgb": {
    "r": 180,
    "g": 64,
    "b": 178
  },
  "hsl": {
    "h": 301.034,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57531,
    "c": 0.19935,
    "h": 328.5
  },
  "luminance": 0.16584
}

Semantic roles & 50–950 ramp

primary
#B440B2
secondary
#8BC58C
accent
#D75351
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B440B2

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

Preview Lab → · Contrast checker → · Palette generator →

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