#B422BA#B422BA

#B422BA is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.6% C 0.237 H 326.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B422BA
RGBrgb(180, 34, 186)
HSLhsl(298, 69%, 43%)
HSVhsv(298, 82%, 73%)
CMYKcmyk(3.2%, 81.7%, 0%, 27.1%)
CIE-LABlab(44.79, 71.67, -47.12)
CIE-LCHlch(44.79, 85.77, 326.68°)
OKLaboklab(55.57% 0.1971 -0.1312)
OKLCHoklch(55.57% 0.237 326.3)
XYZxyz(28.2568, 14.3945, 47.7350)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B422BA #28BA22
analogous
#6822BA #B422BA #BA2274
triadic
#B422BA #BAB422 #22BAB4
tetradic
#B422BA #BA6822 #28BA22 #2274BA
square
#B422BA #BA6822 #28BA22 #2274BA
split-complementary
#B422BA #74BA22 #22BA68
monochromatic
#500F53 #821986 #B422BA #D53EDC #E171E5

Accessibility & contrast

On white

5.41
#B422BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B422BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B422BA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B422BA#FFFFFF#000000##FFFFFF
##B422BA1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#4B70B7
Tritanopia (blue-blind)
#B94070
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b422ba;
/* rgb */ color: rgb(180, 34, 186);
/* oklch */ color: oklch(55.6% 0.237 326.3);
Tailwind
colors: {
  custom: {
    50: '#cf71cf',
    500: '#b422ba',
    950: '#000000',
  },
}
SCSS
$custom: #b422ba;
$custom-light: #cf71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b422ba",
  "rgb": {
    "r": 180,
    "g": 34,
    "b": 186
  },
  "hsl": {
    "h": 297.632,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55569,
    "c": 0.23676,
    "h": 326.3
  },
  "luminance": 0.14393
}

Semantic roles & 50–950 ramp

primary
#B422BA
secondary
#70CC6C
accent
#EC3C43
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B422BA

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

Preview Lab → · Contrast checker → · Palette generator →

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