#B4249E#B4249E

#B4249E is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.215 H 335.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B4249E
RGBrgb(180, 36, 158)
HSLhsl(309, 67%, 42%)
HSVhsv(309, 80%, 71%)
CMYKcmyk(0%, 80%, 12.2%, 29.4%)
CIE-LABlab(43.41, 66.92, -32.70)
CIE-LCHlch(43.41, 74.48, 333.96°)
OKLaboklab(54.09% 0.196 -0.0894)
OKLCHoklch(54.09% 0.215 335.5)
XYZxyz(25.6252, 13.4361, 33.5850)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4249E #24B43A
analogous
#8224B4 #B4249E #B42456
triadic
#B4249E #9EB424 #249EB4
tetradic
#B4249E #B48224 #24B43A #2456B4
square
#B4249E #B48224 #24B43A #2456B4
split-complementary
#B4249E #56B424 #24B482
monochromatic
#4E1044 #811A71 #B4249E #D83DC0 #E270D1

Accessibility & contrast

On white

5.70
#B4249E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B4249E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4249E
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4249E#FFFFFF#000000##FFFFFF
##B4249E1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2459A1
Deuteranopia (green-blind)
#5B6E9B
Tritanopia (blue-blind)
#BD3161
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b4249e;
/* rgb */ color: rgb(180, 36, 158);
/* oklch */ color: oklch(54.1% 0.215 335.5);
Tailwind
colors: {
  custom: {
    50: '#cf71bb',
    500: '#b4249e',
    950: '#000000',
  },
}
SCSS
$custom: #b4249e;
$custom-light: #cf71bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b4249e",
  "rgb": {
    "r": 180,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 309.167,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54087,
    "c": 0.21541,
    "h": 335.5
  },
  "luminance": 0.13434
}

Semantic roles & 50–950 ramp

primary
#B4249E
secondary
#6BC979
accent
#EA583E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B4249E

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

Preview Lab → · Contrast checker → · Palette generator →

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