#B427A6#B427A6

#B427A6 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.218 H 332.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B427A6
RGBrgb(180, 39, 166)
HSLhsl(306, 64%, 43%)
HSVhsv(306, 78%, 71%)
CMYKcmyk(0%, 78.3%, 7.8%, 29.4%)
CIE-LABlab(44.10, 67.29, -36.39)
CIE-LCHlch(44.10, 76.50, 331.60°)
OKLaboklab(54.72% 0.194 -0.1001)
OKLCHoklch(54.72% 0.218 332.7)
XYZxyz(26.4310, 13.9098, 37.3618)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B427A6 #27B435
analogous
#7B27B4 #B427A6 #B42760
triadic
#B427A6 #A6B427 #27A6B4
tetradic
#B427A6 #B47B27 #27B435 #2760B4
square
#B427A6 #B47B27 #27B435 #2760B4
split-complementary
#B427A6 #60B427 #27B47B
monochromatic
#4F1149 #821C78 #B427A6 #D642C7 #E174D6

Accessibility & contrast

On white

5.55
#B427A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B427A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B427A6
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B427A6#FFFFFF#000000##FFFFFF
##B427A61.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b427a6;
/* rgb */ color: rgb(180, 39, 166);
/* oklch */ color: oklch(54.7% 0.218 332.7);
Tailwind
colors: {
  custom: {
    50: '#ce72c1',
    500: '#b427a6',
    950: '#000000',
  },
}
SCSS
$custom: #b427a6;
$custom-light: #ce72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b427a6",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 305.957,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54716,
    "c": 0.21826,
    "h": 332.7
  },
  "luminance": 0.13908
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B427A6

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

Preview Lab → · Contrast checker → · Palette generator →

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