#B427A5#B427A5

#B427A5 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.218 H 333.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B427A5
RGBrgb(180, 39, 165)
HSLhsl(306, 64%, 43%)
HSVhsv(306, 78%, 71%)
CMYKcmyk(0%, 78.3%, 8.3%, 29.4%)
CIE-LABlab(44.05, 67.14, -35.88)
CIE-LCHlch(44.05, 76.13, 331.88°)
OKLaboklab(54.66% 0.1939 -0.0986)
OKLCHoklch(54.66% 0.218 333.1)
XYZxyz(26.3396, 13.8732, 36.8806)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B427A5 #27B436
analogous
#7C27B4 #B427A5 #B4275E
triadic
#B427A5 #A5B427 #27A5B4
tetradic
#B427A5 #B47C27 #27B436 #275EB4
square
#B427A5 #B47C27 #27B436 #275EB4
split-complementary
#B427A5 #5EB427 #27B47C
monochromatic
#4F1149 #821C77 #B427A5 #D642C6 #E174D5

Accessibility & contrast

On white

5.56
#B427A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B427A5
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B427A5#FFFFFF#000000##FFFFFF
##B427A51.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5BA8
Deuteranopia (green-blind)
#596FA2
Tritanopia (blue-blind)
#BC3765
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b427a5;
/* rgb */ color: rgb(180, 39, 165);
/* oklch */ color: oklch(54.7% 0.218 333.1);
Tailwind
colors: {
  custom: {
    50: '#ce72c0',
    500: '#b427a5',
    950: '#000000',
  },
}
SCSS
$custom: #b427a5;
$custom-light: #ce72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b427a5",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 306.383,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54661,
    "c": 0.21756,
    "h": 333.1
  },
  "luminance": 0.13871
}

Semantic roles & 50–950 ramp

primary
#B427A5
secondary
#6FC878
accent
#E75240
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B427A5

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

Preview Lab → · Contrast checker → · Palette generator →

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