#B440D9#B440D9

#B440D9 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.8% C 0.233 H 316.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B440D9
RGBrgb(180, 64, 217)
HSLhsl(285, 67%, 55%)
HSVhsv(285, 71%, 85%)
CMYKcmyk(17.1%, 70.5%, 0%, 14.9%)
CIE-LABlab(49.96, 67.76, -56.76)
CIE-LCHlch(49.96, 88.40, 320.05°)
OKLaboklab(59.84% 0.1693 -0.1596)
OKLCHoklch(59.84% 0.233 316.7)
XYZxyz(33.1783, 18.3812, 67.4324)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B440D9 #65D940
analogous
#6740D9 #B440D9 #D940B2
triadic
#B440D9 #D9B440 #40D9B4
tetradic
#B440D9 #D96740 #65D940 #40B2D9
square
#B440D9 #D96740 #65D940 #40B2D9
split-complementary
#B440D9 #B2D940 #40D967
monochromatic
#6B1A84 #9424B7 #B440D9 #C873E3 #DCA6ED

Accessibility & contrast

On white

4.49
#B440D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#B440D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B440D9
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B440D9#FFFFFF#000000##000000
##B440D91.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#417AD6
Tritanopia (blue-blind)
#B25F89
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b440d9;
/* rgb */ color: rgb(180, 64, 217);
/* oklch */ color: oklch(59.8% 0.233 316.7);
Tailwind
colors: {
  custom: {
    50: '#cf7fe5',
    500: '#b440d9',
    950: '#000000',
  },
}
SCSS
$custom: #b440d9;
$custom-light: #cf7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#b440d9",
  "rgb": {
    "r": 180,
    "g": 64,
    "b": 217
  },
  "hsl": {
    "h": 285.49,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59841,
    "c": 0.2327,
    "h": 316.7
  },
  "luminance": 0.1838
}

Semantic roles & 50–950 ramp

primary
#B440D9
secondary
#AADA9A
accent
#EA3E68
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B440D9

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

Preview Lab → · Contrast checker → · Palette generator →

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