#B440B0#B440B0

#B440B0 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.4% C 0.198 H 329.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B440B0
RGBrgb(180, 64, 176)
HSLhsl(302, 48%, 48%)
HSVhsv(302, 64%, 71%)
CMYKcmyk(0%, 64.4%, 2.2%, 29.4%)
CIE-LABlab(47.63, 60.35, -36.74)
CIE-LCHlch(47.63, 70.66, 328.67°)
OKLaboklab(57.42% 0.1698 -0.1013)
OKLCHoklch(57.42% 0.198 329.2)
XYZxyz(28.4920, 16.5067, 42.7513)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B440B0 #40B444
analogous
#7E40B4 #B440B0 #B44076
triadic
#B440B0 #B0B440 #40B0B4
tetradic
#B440B0 #B47E40 #40B444 #4076B4
square
#B440B0 #B47E40 #40B444 #4076B4
split-complementary
#B440B0 #76B440 #40B47E
monochromatic
#5A2058 #873084 #B440B0 #C968C6 #D995D7

Accessibility & contrast

On white

4.88
#B440B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B440B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B440B0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B440B0#FFFFFF#000000##FFFFFF
##B440B01.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3467B3
Deuteranopia (green-blind)
#5E77AD
Tritanopia (blue-blind)
#BA4E72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b440b0;
/* rgb */ color: rgb(180, 64, 176);
/* oklch */ color: oklch(57.4% 0.198 329.2);
Tailwind
colors: {
  custom: {
    50: '#ce7dc8',
    500: '#b440b0',
    950: '#000000',
  },
}
SCSS
$custom: #b440b0;
$custom-light: #ce7dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#b440b0",
  "rgb": {
    "r": 180,
    "g": 64,
    "b": 176
  },
  "hsl": {
    "h": 302.069,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57424,
    "c": 0.19773,
    "h": 329.2
  },
  "luminance": 0.16505
}

Semantic roles & 50–950 ramp

primary
#B440B0
secondary
#8BC58D
accent
#D75551
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B440B0

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

Preview Lab → · Contrast checker → · Palette generator →

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