#B427BA#B427BA

#B427BA is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.9% C 0.233 H 326.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B427BA
RGBrgb(180, 39, 186)
HSLhsl(298, 65%, 44%)
HSVhsv(298, 79%, 73%)
CMYKcmyk(3.2%, 79%, 0%, 27.1%)
CIE-LABlab(45.22, 70.42, -46.43)
CIE-LCHlch(45.22, 84.35, 326.60°)
OKLaboklab(55.87% 0.1936 -0.1292)
OKLCHoklch(55.87% 0.233 326.3)
XYZxyz(28.4103, 14.7015, 47.7862)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B427BA #2DBA27
analogous
#6B27BA #B427BA #BA2777
triadic
#B427BA #BAB427 #27BAB4
tetradic
#B427BA #BA6B27 #2DBA27 #2777BA
square
#B427BA #BA6B27 #2DBA27 #2777BA
split-complementary
#B427BA #77BA27 #27BA6B
monochromatic
#521255 #831C87 #B427BA #D246D8 #DE79E3

Accessibility & contrast

On white

5.33
#B427BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B427BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B427BA
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B427BA#FFFFFF#000000##FFFFFF
##B427BA1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#4C71B7
Tritanopia (blue-blind)
#B94371
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b427ba;
/* rgb */ color: rgb(180, 39, 186);
/* oklch */ color: oklch(55.9% 0.233 326.3);
Tailwind
colors: {
  custom: {
    50: '#cf73cf',
    500: '#b427ba',
    950: '#000000',
  },
}
SCSS
$custom: #b427ba;
$custom-light: #cf73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b427ba",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 297.551,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55873,
    "c": 0.23277,
    "h": 326.3
  },
  "luminance": 0.147
}

Semantic roles & 50–950 ramp

primary
#B427BA
secondary
#76CB72
accent
#E84046
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B427BA

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

Preview Lab → · Contrast checker → · Palette generator →

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