#B440D5#B440D5

#B440D5 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.6% C 0.229 H 317.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B440D5
RGBrgb(180, 64, 213)
HSLhsl(287, 64%, 54%)
HSVhsv(287, 70%, 84%)
CMYKcmyk(15.5%, 70%, 0%, 16.5%)
CIE-LABlab(49.71, 67.00, -54.87)
CIE-LCHlch(49.71, 86.60, 320.68°)
OKLaboklab(59.59% 0.1697 -0.1541)
OKLCHoklch(59.59% 0.229 317.8)
XYZxyz(32.6643, 18.1756, 64.7255)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B440D5 #61D540
analogous
#6A40D5 #B440D5 #D540AC
triadic
#B440D5 #D5B440 #40D5B4
tetradic
#B440D5 #D56A40 #61D540 #40ACD5
square
#B440D5 #D56A40 #61D540 #40ACD5
split-complementary
#B440D5 #ACD540 #40D56A
monochromatic
#691C7F #9227B1 #B440D5 #C872E0 #DBA4EB

Accessibility & contrast

On white

4.53
#B440D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#B440D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B440D5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B440D5#FFFFFF#000000##000000
##B440D51.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#457AD2
Tritanopia (blue-blind)
#B35D86
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b440d5;
/* rgb */ color: rgb(180, 64, 213);
/* oklch */ color: oklch(59.6% 0.229 317.8);
Tailwind
colors: {
  custom: {
    50: '#ce7fe3',
    500: '#b440d5',
    950: '#000000',
  },
}
SCSS
$custom: #b440d5;
$custom-light: #ce7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#b440d5",
  "rgb": {
    "r": 180,
    "g": 64,
    "b": 213
  },
  "hsl": {
    "h": 286.711,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59586,
    "c": 0.22918,
    "h": 317.8
  },
  "luminance": 0.18174
}

Semantic roles & 50–950 ramp

primary
#B440D5
secondary
#A7D899
accent
#E74166
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B15
muted
#837C84

Preview Lab

Preview with #B440D5

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

Preview Lab → · Contrast checker → · Palette generator →

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