#B440A2#B440A2

#B440A2 is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.7% C 0.187 H 334.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B440A2
RGBrgb(180, 64, 162)
HSLhsl(309, 48%, 48%)
HSVhsv(309, 64%, 71%)
CMYKcmyk(0%, 64.4%, 10%, 29.4%)
CIE-LABlab(46.95, 58.07, -29.54)
CIE-LCHlch(46.95, 65.15, 333.04°)
OKLaboklab(56.71% 0.1684 -0.0806)
OKLCHoklch(56.71% 0.187 334.4)
XYZxyz(27.1776, 15.9809, 35.8286)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B440A2 #40B452
analogous
#8C40B4 #B440A2 #B44068
triadic
#B440A2 #A2B440 #40A2B4
tetradic
#B440A2 #B48C40 #40B452 #4068B4
square
#B440A2 #B48C40 #40B452 #4068B4
split-complementary
#B440A2 #68B440 #40B48C
monochromatic
#5A2051 #873079 #B440A2 #C968BA #D995CF

Accessibility & contrast

On white

5.01
#B440A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B440A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B440A2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B440A2#FFFFFF#000000##FFFFFF
##B440A21.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A5
Deuteranopia (green-blind)
#65759F
Tritanopia (blue-blind)
#BC486B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b440a2;
/* rgb */ color: rgb(180, 64, 162);
/* oklch */ color: oklch(56.7% 0.187 334.4);
Tailwind
colors: {
  custom: {
    50: '#ce7dbe',
    500: '#b440a2',
    950: '#000000',
  },
}
SCSS
$custom: #b440a2;
$custom-light: #ce7dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#b440a2",
  "rgb": {
    "r": 180,
    "g": 64,
    "b": 162
  },
  "hsl": {
    "h": 309.31,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56705,
    "c": 0.18672,
    "h": 334.4
  },
  "luminance": 0.15979
}

Semantic roles & 50–950 ramp

primary
#B440A2
secondary
#8BC594
accent
#D76651
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B440A2

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

Preview Lab → · Contrast checker → · Palette generator →

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