#B427A4#B427A4

#B427A4 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.217 H 333.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B427A4
RGBrgb(180, 39, 164)
HSLhsl(307, 64%, 43%)
HSVhsv(307, 78%, 71%)
CMYKcmyk(0%, 78.3%, 8.9%, 29.4%)
CIE-LABlab(44.00, 66.99, -35.37)
CIE-LCHlch(44.00, 75.76, 332.17°)
OKLaboklab(54.61% 0.1939 -0.0971)
OKLCHoklch(54.61% 0.217 333.4)
XYZxyz(26.2490, 13.8370, 36.4031)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B427A4 #27B437
analogous
#7E27B4 #B427A4 #B4275D
triadic
#B427A4 #A4B427 #27A4B4
tetradic
#B427A4 #B47E27 #27B437 #275DB4
square
#B427A4 #B47E27 #27B437 #275DB4
split-complementary
#B427A4 #5DB427 #27B47E
monochromatic
#4F1148 #821C76 #B427A4 #D642C5 #E174D5

Accessibility & contrast

On white

5.57
#B427A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B427A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B427A4
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B427A4#FFFFFF#000000##FFFFFF
##B427A41.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205BA7
Deuteranopia (green-blind)
#596FA1
Tritanopia (blue-blind)
#BC3765
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b427a4;
/* rgb */ color: rgb(180, 39, 164);
/* oklch */ color: oklch(54.6% 0.217 333.4);
Tailwind
colors: {
  custom: {
    50: '#ce72bf',
    500: '#b427a4',
    950: '#000000',
  },
}
SCSS
$custom: #b427a4;
$custom-light: #ce72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b427a4",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 306.809,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54606,
    "c": 0.21686,
    "h": 333.4
  },
  "luminance": 0.13835
}

Semantic roles & 50–950 ramp

primary
#B427A4
secondary
#6FC879
accent
#E75340
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B427A4

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

Preview Lab → · Contrast checker → · Palette generator →

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