#B440E2#B440E2

#B440E2 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.4% C 0.241 H 314.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B440E2
RGBrgb(180, 64, 226)
HSLhsl(283, 74%, 57%)
HSVhsv(283, 72%, 89%)
CMYKcmyk(20.4%, 71.7%, 0%, 11.4%)
CIE-LABlab(50.53, 69.51, -60.96)
CIE-LCHlch(50.53, 92.45, 318.75°)
OKLaboklab(60.43% 0.1684 -0.1719)
OKLCHoklch(60.43% 0.241 314.4)
XYZxyz(34.3810, 18.8623, 73.7665)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B440E2 #6EE240
analogous
#6340E2 #B440E2 #E240BF
triadic
#B440E2 #E2B440 #40E2B4
tetradic
#B440E2 #E26340 #6EE240 #40BFE2
square
#B440E2 #E26340 #6EE240 #40BFE2
split-complementary
#B440E2 #BFE240 #40E263
monochromatic
#6E1692 #971EC7 #B440E2 #C975EA #DEAAF2

Accessibility & contrast

On white

4.40
#B440E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B440E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B440E2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B440E2#FFFFFF#000000##000000
##B440E21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#377BDE
Tritanopia (blue-blind)
#B0638E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b440e2;
/* rgb */ color: rgb(180, 64, 226);
/* oklch */ color: oklch(60.4% 0.241 314.4);
Tailwind
colors: {
  custom: {
    50: '#cf7fec',
    500: '#b440e2',
    950: '#000000',
  },
}
SCSS
$custom: #b440e2;
$custom-light: #cf7fec;
$custom-dark: #000000;
JSON
{
  "hex": "#b440e2",
  "rgb": {
    "r": 180,
    "g": 64,
    "b": 226
  },
  "hsl": {
    "h": 282.963,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60428,
    "c": 0.24066,
    "h": 314.4
  },
  "luminance": 0.18861
}

Semantic roles & 50–950 ramp

primary
#B440E2
secondary
#B1E09E
accent
#F0386C
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B440E2

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

Preview Lab → · Contrast checker → · Palette generator →

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