#B427A3#B427A3

#B427A3 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.216 H 333.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B427A3
RGBrgb(180, 39, 163)
HSLhsl(307, 64%, 43%)
HSVhsv(307, 78%, 71%)
CMYKcmyk(0%, 78.3%, 9.4%, 29.4%)
CIE-LABlab(43.95, 66.85, -34.85)
CIE-LCHlch(43.95, 75.39, 332.46°)
OKLaboklab(54.55% 0.1939 -0.0956)
OKLCHoklch(54.55% 0.216 333.7)
XYZxyz(26.1590, 13.8010, 35.9294)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B427A3 #27B438
analogous
#7E27B4 #B427A3 #B4275C
triadic
#B427A3 #A3B427 #27A3B4
tetradic
#B427A3 #B47E27 #27B438 #275CB4
square
#B427A3 #B47E27 #27B438 #275CB4
split-complementary
#B427A3 #5CB427 #27B47E
monochromatic
#4F1148 #821C75 #B427A3 #D642C4 #E174D4

Accessibility & contrast

On white

5.59
#B427A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B427A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B427A3
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B427A3#FFFFFF#000000##FFFFFF
##B427A31.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225BA6
Deuteranopia (green-blind)
#5A6FA0
Tritanopia (blue-blind)
#BD3664
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b427a3;
/* rgb */ color: rgb(180, 39, 163);
/* oklch */ color: oklch(54.6% 0.216 333.7);
Tailwind
colors: {
  custom: {
    50: '#ce72be',
    500: '#b427a3',
    950: '#000000',
  },
}
SCSS
$custom: #b427a3;
$custom-light: #ce72be;
$custom-dark: #000000;
JSON
{
  "hex": "#b427a3",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 307.234,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54552,
    "c": 0.21617,
    "h": 333.7
  },
  "luminance": 0.13799
}

Semantic roles & 50–950 ramp

primary
#B427A3
secondary
#6FC879
accent
#E75540
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B427A3

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

Preview Lab → · Contrast checker → · Palette generator →

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