#B427A0#B427A0

#B427A0 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.214 H 334.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B427A0
RGBrgb(180, 39, 160)
HSLhsl(309, 64%, 43%)
HSVhsv(309, 78%, 71%)
CMYKcmyk(0%, 78.3%, 11.1%, 29.4%)
CIE-LABlab(43.79, 66.41, -33.30)
CIE-LCHlch(43.79, 74.29, 333.37°)
OKLaboklab(54.39% 0.1937 -0.0912)
OKLCHoklch(54.39% 0.214 334.8)
XYZxyz(25.8934, 13.6948, 34.5305)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B427A0 #27B43B
analogous
#8227B4 #B427A0 #B42759
triadic
#B427A0 #A0B427 #27A0B4
tetradic
#B427A0 #B48227 #27B43B #2759B4
square
#B427A0 #B48227 #27B43B #2759B4
split-complementary
#B427A0 #59B427 #27B482
monochromatic
#4F1147 #821C73 #B427A0 #D642C1 #E174D2

Accessibility & contrast

On white

5.62
#B427A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B427A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B427A0
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B427A0#FFFFFF#000000##FFFFFF
##B427A01.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255AA3
Deuteranopia (green-blind)
#5B6F9D
Tritanopia (blue-blind)
#BD3562
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b427a0;
/* rgb */ color: rgb(180, 39, 160);
/* oklch */ color: oklch(54.4% 0.214 334.8);
Tailwind
colors: {
  custom: {
    50: '#ce72bc',
    500: '#b427a0',
    950: '#000000',
  },
}
SCSS
$custom: #b427a0;
$custom-light: #ce72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b427a0",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 160
  },
  "hsl": {
    "h": 308.511,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54392,
    "c": 0.2141,
    "h": 334.8
  },
  "luminance": 0.13692
}

Semantic roles & 50–950 ramp

primary
#B427A0
secondary
#6FC87B
accent
#E75840
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B427A0

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

Preview Lab → · Contrast checker → · Palette generator →

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