#B440D4#B440D4

#B440D4 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.5% C 0.228 H 318.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B440D4
RGBrgb(180, 64, 212)
HSLhsl(287, 63%, 54%)
HSVhsv(287, 70%, 83%)
CMYKcmyk(15.1%, 69.8%, 0%, 16.9%)
CIE-LABlab(49.65, 66.81, -54.40)
CIE-LCHlch(49.65, 86.16, 320.85°)
OKLaboklab(59.52% 0.1697 -0.1527)
OKLCHoklch(59.52% 0.228 318)
XYZxyz(32.5378, 18.1250, 64.0591)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B440D4 #60D440
analogous
#6A40D4 #B440D4 #D440AA
triadic
#B440D4 #D4B440 #40D4B4
tetradic
#B440D4 #D46A40 #60D440 #40AAD4
square
#B440D4 #D46A40 #60D440 #40AAD4
split-complementary
#B440D4 #AAD440 #40D46A
monochromatic
#681C7D #9227AF #B440D4 #C872DF #DBA4EA

Accessibility & contrast

On white

4.54
#B440D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#B440D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B440D4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B440D4#FFFFFF#000000##000000
##B440D41.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#467AD1
Tritanopia (blue-blind)
#B35D86
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b440d4;
/* rgb */ color: rgb(180, 64, 212);
/* oklch */ color: oklch(59.5% 0.228 318.0);
Tailwind
colors: {
  custom: {
    50: '#ce7fe2',
    500: '#b440d4',
    950: '#000000',
  },
}
SCSS
$custom: #b440d4;
$custom-light: #ce7fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#b440d4",
  "rgb": {
    "r": 180,
    "g": 64,
    "b": 212
  },
  "hsl": {
    "h": 287.027,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59523,
    "c": 0.2283,
    "h": 318
  },
  "luminance": 0.18124
}

Semantic roles & 50–950 ramp

primary
#B440D4
secondary
#A6D798
accent
#E64265
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B440D4

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

Preview Lab → · Contrast checker → · Palette generator →

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