#B427A7#B427A7

#B427A7 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.8% C 0.219 H 332.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B427A7
RGBrgb(180, 39, 167)
HSLhsl(306, 64%, 43%)
HSVhsv(306, 78%, 71%)
CMYKcmyk(0%, 78.3%, 7.2%, 29.4%)
CIE-LABlab(44.16, 67.44, -36.90)
CIE-LCHlch(44.16, 76.88, 331.31°)
OKLaboklab(54.77% 0.194 -0.1015)
OKLCHoklch(54.77% 0.219 332.4)
XYZxyz(26.5231, 13.9466, 37.8468)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B427A7 #27B434
analogous
#7A27B4 #B427A7 #B42760
triadic
#B427A7 #A7B427 #27A7B4
tetradic
#B427A7 #B47A27 #27B434 #2760B4
square
#B427A7 #B47A27 #27B434 #2760B4
split-complementary
#B427A7 #60B427 #27B47A
monochromatic
#4F114A #821C78 #B427A7 #D642C8 #E174D7

Accessibility & contrast

On white

5.54
#B427A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B427A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B427A7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B427A7#FFFFFF#000000##FFFFFF
##B427A71.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5CAA
Deuteranopia (green-blind)
#586FA4
Tritanopia (blue-blind)
#BC3866
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b427a7;
/* rgb */ color: rgb(180, 39, 167);
/* oklch */ color: oklch(54.8% 0.219 332.4);
Tailwind
colors: {
  custom: {
    50: '#ce72c1',
    500: '#b427a7',
    950: '#000000',
  },
}
SCSS
$custom: #b427a7;
$custom-light: #ce72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b427a7",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 305.532,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54771,
    "c": 0.21896,
    "h": 332.4
  },
  "luminance": 0.13944
}

Semantic roles & 50–950 ramp

primary
#B427A7
secondary
#6FC877
accent
#E75040
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B427A7

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

Preview Lab → · Contrast checker → · Palette generator →

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