#B427A8#B427A8

#B427A8 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.220 H 332.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B427A8
RGBrgb(180, 39, 168)
HSLhsl(305, 64%, 43%)
HSVhsv(305, 78%, 71%)
CMYKcmyk(0%, 78.3%, 6.7%, 29.4%)
CIE-LABlab(44.21, 67.59, -37.41)
CIE-LCHlch(44.21, 77.26, 331.03°)
OKLaboklab(54.83% 0.194 -0.103)
OKLCHoklch(54.83% 0.22 332)
XYZxyz(26.6159, 13.9837, 38.3355)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B427A8 #27B433
analogous
#7927B4 #B427A8 #B42762
triadic
#B427A8 #A8B427 #27A8B4
tetradic
#B427A8 #B47927 #27B433 #2762B4
square
#B427A8 #B47927 #27B433 #2762B4
split-complementary
#B427A8 #62B427 #27B479
monochromatic
#4F114A #821C79 #B427A8 #D642C9 #E174D8

Accessibility & contrast

On white

5.53
#B427A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B427A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B427A8
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B427A8#FFFFFF#000000##FFFFFF
##B427A81.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5CAB
Deuteranopia (green-blind)
#576FA5
Tritanopia (blue-blind)
#BC3967
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b427a8;
/* rgb */ color: rgb(180, 39, 168);
/* oklch */ color: oklch(54.8% 0.220 332.0);
Tailwind
colors: {
  custom: {
    50: '#ce72c2',
    500: '#b427a8',
    950: '#000000',
  },
}
SCSS
$custom: #b427a8;
$custom-light: #ce72c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b427a8",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 305.106,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54826,
    "c": 0.21967,
    "h": 332
  },
  "luminance": 0.13981
}

Semantic roles & 50–950 ramp

primary
#B427A8
secondary
#6FC876
accent
#E74F40
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B427A8

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

Preview Lab → · Contrast checker → · Palette generator →

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