#B440D2#B440D2

#B440D2 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.4% C 0.227 H 318.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B440D2
RGBrgb(180, 64, 210)
HSLhsl(288, 62%, 54%)
HSVhsv(288, 70%, 82%)
CMYKcmyk(14.3%, 69.5%, 0%, 17.6%)
CIE-LABlab(49.53, 66.43, -53.45)
CIE-LCHlch(49.53, 85.27, 321.18°)
OKLaboklab(59.4% 0.1699 -0.1499)
OKLCHoklch(59.4% 0.227 318.6)
XYZxyz(32.2871, 18.0247, 62.7387)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B440D2 #5ED240
analogous
#6B40D2 #B440D2 #D240A7
triadic
#B440D2 #D2B440 #40D2B4
tetradic
#B440D2 #D26B40 #5ED240 #40A7D2
square
#B440D2 #D26B40 #5ED240 #40A7D2
split-complementary
#B440D2 #A7D240 #40D26B
monochromatic
#671D7B #9129AC #B440D2 #C772DE #DBA3E9

Accessibility & contrast

On white

4.56
#B440D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#B440D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B440D2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B440D2#FFFFFF#000000##000000
##B440D21.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#4879CF
Tritanopia (blue-blind)
#B45C85
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b440d2;
/* rgb */ color: rgb(180, 64, 210);
/* oklch */ color: oklch(59.4% 0.227 318.6);
Tailwind
colors: {
  custom: {
    50: '#ce7fe0',
    500: '#b440d2',
    950: '#000000',
  },
}
SCSS
$custom: #b440d2;
$custom-light: #ce7fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#b440d2",
  "rgb": {
    "r": 180,
    "g": 64,
    "b": 210
  },
  "hsl": {
    "h": 287.671,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59397,
    "c": 0.22655,
    "h": 318.6
  },
  "luminance": 0.18023
}

Semantic roles & 50–950 ramp

primary
#B440D2
secondary
#A5D698
accent
#E54364
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B440D2

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

Preview Lab → · Contrast checker → · Palette generator →

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