#B426A2#B426A2

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

Color values

HEX#B426A2
RGBrgb(180, 38, 162)
HSLhsl(308, 65%, 43%)
HSVhsv(308, 79%, 71%)
CMYKcmyk(0%, 78.9%, 10%, 29.4%)
CIE-LABlab(43.80, 66.97, -34.48)
CIE-LCHlch(43.80, 75.33, 332.76°)
OKLaboklab(54.43% 0.1946 -0.0946)
OKLCHoklch(54.43% 0.216 334.1)
XYZxyz(26.0374, 13.7005, 35.4486)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B426A2 #26B438
analogous
#7F26B4 #B426A2 #B4265B
triadic
#B426A2 #A2B426 #26A2B4
tetradic
#B426A2 #B47F26 #26B438 #265BB4
square
#B426A2 #B47F26 #26B438 #265BB4
split-complementary
#B426A2 #5BB426 #26B47F
monochromatic
#4F1147 #811B75 #B426A2 #D740C4 #E173D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B426A2#FFFFFF#000000##FFFFFF
##B426A21.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)
#225AA5
Deuteranopia (green-blind)
#5A6F9F
Tritanopia (blue-blind)
#BD3563
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b426a2;
/* rgb */ color: rgb(180, 38, 162);
/* oklch */ color: oklch(54.4% 0.216 334.1);
Tailwind
colors: {
  custom: {
    50: '#cf72be',
    500: '#b426a2',
    950: '#000000',
  },
}
SCSS
$custom: #b426a2;
$custom-light: #cf72be;
$custom-dark: #000000;
JSON
{
  "hex": "#b426a2",
  "rgb": {
    "r": 180,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 307.606,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54431,
    "c": 0.21638,
    "h": 334.1
  },
  "luminance": 0.13698
}

Semantic roles & 50–950 ramp

primary
#B426A2
secondary
#6DC979
accent
#E85540
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B426A2

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

Preview Lab → · Contrast checker → · Palette generator →

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