#B427BD#B427BD

#B427BD is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 56.1% C 0.235 H 325.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B427BD
RGBrgb(180, 39, 189)
HSLhsl(296, 66%, 45%)
HSVhsv(296, 79%, 74%)
CMYKcmyk(4.8%, 79.4%, 0%, 25.9%)
CIE-LABlab(45.40, 70.91, -47.90)
CIE-LCHlch(45.40, 85.57, 325.96°)
OKLaboklab(56.06% 0.1934 -0.1335)
OKLCHoklch(56.06% 0.235 325.4)
XYZxyz(28.7326, 14.8304, 49.4834)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B427BD #30BD27
analogous
#6927BD #B427BD #BD277B
triadic
#B427BD #BDB427 #27BDB4
tetradic
#B427BD #BD6927 #30BD27 #277BBD
square
#B427BD #BD6927 #30BD27 #277BBD
split-complementary
#B427BD #7BBD27 #27BD69
monochromatic
#531258 #841D8A #B427BD #D148D9 #DD7BE4

Accessibility & contrast

On white

5.30
#B427BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B427BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B427BD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B427BD#FFFFFF#000000##FFFFFF
##B427BD1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#B84473
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b427bd;
/* rgb */ color: rgb(180, 39, 189);
/* oklch */ color: oklch(56.1% 0.235 325.4);
Tailwind
colors: {
  custom: {
    50: '#cf73d1',
    500: '#b427bd',
    950: '#000000',
  },
}
SCSS
$custom: #b427bd;
$custom-light: #cf73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b427bd",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 189
  },
  "hsl": {
    "h": 296.4,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56057,
    "c": 0.23501,
    "h": 325.4
  },
  "luminance": 0.14828
}

Semantic roles & 50–950 ramp

primary
#B427BD
secondary
#79CC74
accent
#E93F49
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B427BD

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

Preview Lab → · Contrast checker → · Palette generator →

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