#B418A4#B418A4

#B418A4 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.8% C 0.228 H 333.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B418A4
RGBrgb(180, 24, 164)
HSLhsl(306, 76%, 40%)
HSVhsv(306, 87%, 71%)
CMYKcmyk(0%, 86.7%, 8.9%, 29.4%)
CIE-LABlab(42.82, 70.41, -37.22)
CIE-LCHlch(42.82, 79.64, 332.13°)
OKLaboklab(53.77% 0.2039 -0.1024)
OKLCHoklch(53.77% 0.228 333.3)
XYZxyz(25.8501, 13.0393, 36.2702)
Luminance0.1304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B418A4 #18B428
analogous
#7618B4 #B418A4 #B41856
triadic
#B418A4 #A4B418 #18A4B4
tetradic
#B418A4 #B47618 #18B428 #1856B4
square
#B418A4 #B47618 #18B428 #1856B4
split-complementary
#B418A4 #56B418 #18B476
monochromatic
#480A42 #7E1173 #B418A4 #E227CF #E95DDB

Accessibility & contrast

On white

5.82
#B418A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B418A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B418A4
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B418A4#FFFFFF#000000##FFFFFF
##B418A41.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A57A7
Deuteranopia (green-blind)
#556DA1
Tritanopia (blue-blind)
#BD2E62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b418a4;
/* rgb */ color: rgb(180, 24, 164);
/* oklch */ color: oklch(53.8% 0.228 333.3);
Tailwind
colors: {
  custom: {
    50: '#cf6ebf',
    500: '#b418a4',
    950: '#000000',
  },
}
SCSS
$custom: #b418a4;
$custom-light: #cf6ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#b418a4",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 164
  },
  "hsl": {
    "h": 306.154,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.53768,
    "c": 0.22818,
    "h": 333.3
  },
  "luminance": 0.13037
}

Semantic roles & 50–950 ramp

primary
#B418A4
secondary
#5BCD66
accent
#F34835
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B418A4

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

Preview Lab → · Contrast checker → · Palette generator →

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