#B424A2#B424A2

#B424A2 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.218 H 334.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B424A2
RGBrgb(180, 36, 162)
HSLhsl(308, 67%, 42%)
HSVhsv(308, 80%, 71%)
CMYKcmyk(0%, 80%, 10%, 29.4%)
CIE-LABlab(43.62, 67.49, -34.77)
CIE-LCHlch(43.62, 75.92, 332.75°)
OKLaboklab(54.3% 0.1962 -0.0954)
OKLCHoklch(54.3% 0.218 334.1)
XYZxyz(25.9751, 13.5760, 35.4278)
Luminance0.1357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B424A2 #24B436
analogous
#7E24B4 #B424A2 #B4245A
triadic
#B424A2 #A2B424 #24A2B4
tetradic
#B424A2 #B47E24 #24B436 #245AB4
square
#B424A2 #B47E24 #24B436 #245AB4
split-complementary
#B424A2 #5AB424 #24B47E
monochromatic
#4E1046 #811A74 #B424A2 #D83DC5 #E270D4

Accessibility & contrast

On white

5.65
#B424A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B424A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B424A2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B424A2#FFFFFF#000000##FFFFFF
##B424A21.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5AA5
Deuteranopia (green-blind)
#596E9F
Tritanopia (blue-blind)
#BD3463
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b424a2;
/* rgb */ color: rgb(180, 36, 162);
/* oklch */ color: oklch(54.3% 0.218 334.1);
Tailwind
colors: {
  custom: {
    50: '#cf71be',
    500: '#b424a2',
    950: '#000000',
  },
}
SCSS
$custom: #b424a2;
$custom-light: #cf71be;
$custom-dark: #000000;
JSON
{
  "hex": "#b424a2",
  "rgb": {
    "r": 180,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 307.5,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54301,
    "c": 0.21812,
    "h": 334.1
  },
  "luminance": 0.13574
}

Semantic roles & 50–950 ramp

primary
#B424A2
secondary
#6BC977
accent
#EA543E
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B424A2

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

Preview Lab → · Contrast checker → · Palette generator →

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