#B418AC#B418AC

#B418AC is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.2% C 0.234 H 330.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B418AC
RGBrgb(180, 24, 172)
HSLhsl(303, 76%, 40%)
HSVhsv(303, 87%, 71%)
CMYKcmyk(0%, 86.7%, 4.4%, 29.4%)
CIE-LABlab(43.27, 71.57, -41.29)
CIE-LCHlch(43.27, 82.63, 330.02°)
OKLaboklab(54.23% 0.2038 -0.1142)
OKLCHoklch(54.23% 0.234 330.7)
XYZxyz(26.5954, 13.3374, 40.1954)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B418AC #18B420
analogous
#6E18B4 #B418AC #B4185E
triadic
#B418AC #ACB418 #18ACB4
tetradic
#B418AC #B46E18 #18B420 #185EB4
square
#B418AC #B46E18 #18B420 #185EB4
split-complementary
#B418AC #5EB418 #18B46E
monochromatic
#480A45 #7E1178 #B418AC #E227D9 #E95DE2

Accessibility & contrast

On white

5.73
#B418AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B418AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B418AC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B418AC#FFFFFF#000000##FFFFFF
##B418AC1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#516DA9
Tritanopia (blue-blind)
#BB3366
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b418ac;
/* rgb */ color: rgb(180, 24, 172);
/* oklch */ color: oklch(54.2% 0.234 330.7);
Tailwind
colors: {
  custom: {
    50: '#cf6ec5',
    500: '#b418ac',
    950: '#000000',
  },
}
SCSS
$custom: #b418ac;
$custom-light: #cf6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#b418ac",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 172
  },
  "hsl": {
    "h": 303.077,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.54227,
    "c": 0.23357,
    "h": 330.7
  },
  "luminance": 0.13335
}

Semantic roles & 50–950 ramp

primary
#B418AC
secondary
#5BCD60
accent
#F33F35
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140813
muted
#837B82

Preview Lab

Preview with #B418AC

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

Preview Lab → · Contrast checker → · Palette generator →

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