#B427AF#B427AF

#B427AF is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.2% C 0.225 H 329.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B427AF
RGBrgb(180, 39, 175)
HSLhsl(302, 64%, 43%)
HSVhsv(302, 78%, 71%)
CMYKcmyk(0%, 78.3%, 2.8%, 29.4%)
CIE-LABlab(44.59, 68.67, -40.96)
CIE-LCHlch(44.59, 79.96, 329.18°)
OKLaboklab(55.22% 0.194 -0.1133)
OKLCHoklch(55.22% 0.225 329.7)
XYZxyz(27.2856, 14.2516, 41.8629)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B427AF #27B42C
analogous
#7327B4 #B427AF #B42768
triadic
#B427AF #AFB427 #27AFB4
tetradic
#B427AF #B47327 #27B42C #2768B4
square
#B427AF #B47327 #27B42C #2768B4
split-complementary
#B427AF #68B427 #27B473
monochromatic
#4F114D #821C7E #B427AF #D642D1 #E174DD

Accessibility & contrast

On white

5.45
#B427AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B427AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B427AF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B427AF#FFFFFF#000000##FFFFFF
##B427AF1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5EB3
Deuteranopia (green-blind)
#5370AC
Tritanopia (blue-blind)
#BB3D6B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b427af;
/* rgb */ color: rgb(180, 39, 175);
/* oklch */ color: oklch(55.2% 0.225 329.7);
Tailwind
colors: {
  custom: {
    50: '#cf73c7',
    500: '#b427af',
    950: '#000000',
  },
}
SCSS
$custom: #b427af;
$custom-light: #cf73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b427af",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 302.128,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55222,
    "c": 0.22469,
    "h": 329.7
  },
  "luminance": 0.14249
}

Semantic roles & 50–950 ramp

primary
#B427AF
secondary
#6FC872
accent
#E74640
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B427AF

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

Preview Lab → · Contrast checker → · Palette generator →

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