#B427A9#B427A9

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

Color values

HEX#B427A9
RGBrgb(180, 39, 169)
HSLhsl(305, 64%, 43%)
HSVhsv(305, 78%, 71%)
CMYKcmyk(0%, 78.3%, 6.1%, 29.4%)
CIE-LABlab(44.26, 67.75, -37.92)
CIE-LCHlch(44.26, 77.64, 330.76°)
OKLaboklab(54.88% 0.194 -0.1045)
OKLCHoklch(54.88% 0.22 331.7)
XYZxyz(26.7094, 14.0211, 38.8281)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B427A9 #27B432
analogous
#7827B4 #B427A9 #B42762
triadic
#B427A9 #A9B427 #27A9B4
tetradic
#B427A9 #B47827 #27B432 #2762B4
square
#B427A9 #B47827 #27B432 #2762B4
split-complementary
#B427A9 #62B427 #27B478
monochromatic
#4F114B #821C7A #B427A9 #D642CB #E174D9

Accessibility & contrast

On white

5.52
#B427A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B427A9
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B427A9#FFFFFF#000000##FFFFFF
##B427A91.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195CAC
Deuteranopia (green-blind)
#576FA6
Tritanopia (blue-blind)
#BC3A67
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b427a9;
/* rgb */ color: rgb(180, 39, 169);
/* oklch */ color: oklch(54.9% 0.220 331.7);
Tailwind
colors: {
  custom: {
    50: '#ce72c3',
    500: '#b427a9',
    950: '#000000',
  },
}
SCSS
$custom: #b427a9;
$custom-light: #ce72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b427a9",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 304.681,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54882,
    "c": 0.22038,
    "h": 331.7
  },
  "luminance": 0.14019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B427A9

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

Preview Lab → · Contrast checker → · Palette generator →

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