#B427AA#B427AA

#B427AA is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.221 H 331.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B427AA
RGBrgb(180, 39, 170)
HSLhsl(304, 64%, 43%)
HSVhsv(304, 78%, 71%)
CMYKcmyk(0%, 78.3%, 5.6%, 29.4%)
CIE-LABlab(44.32, 67.90, -38.43)
CIE-LCHlch(44.32, 78.02, 330.49°)
OKLaboklab(54.94% 0.194 -0.106)
OKLCHoklch(54.94% 0.221 331.4)
XYZxyz(26.8036, 14.0588, 39.3244)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B427AA #27B431
analogous
#7727B4 #B427AA #B42764
triadic
#B427AA #AAB427 #27AAB4
tetradic
#B427AA #B47727 #27B431 #2764B4
square
#B427AA #B47727 #27B431 #2764B4
split-complementary
#B427AA #64B427 #27B477
monochromatic
#4F114B #821C7A #B427AA #D642CC #E174D9

Accessibility & contrast

On white

5.51
#B427AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B427AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B427AA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B427AA#FFFFFF#000000##FFFFFF
##B427AA1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175CAD
Deuteranopia (green-blind)
#5670A7
Tritanopia (blue-blind)
#BB3A68
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b427aa;
/* rgb */ color: rgb(180, 39, 170);
/* oklch */ color: oklch(54.9% 0.221 331.4);
Tailwind
colors: {
  custom: {
    50: '#ce72c4',
    500: '#b427aa',
    950: '#000000',
  },
}
SCSS
$custom: #b427aa;
$custom-light: #ce72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b427aa",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 304.255,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54937,
    "c": 0.2211,
    "h": 331.4
  },
  "luminance": 0.14057
}

Semantic roles & 50–950 ramp

primary
#B427AA
secondary
#6FC875
accent
#E74C40
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B427AA

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

Preview Lab → · Contrast checker → · Palette generator →

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