#B418AE#B418AE

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

Color values

HEX#B418AE
RGBrgb(180, 24, 174)
HSLhsl(302, 76%, 40%)
HSVhsv(302, 87%, 71%)
CMYKcmyk(0%, 86.7%, 3.3%, 29.4%)
CIE-LABlab(43.38, 71.87, -42.29)
CIE-LCHlch(43.38, 83.39, 329.52°)
OKLaboklab(54.35% 0.2037 -0.1171)
OKLCHoklch(54.35% 0.235 330.1)
XYZxyz(26.7889, 13.4148, 41.2146)
Luminance0.1341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B418AE #18B41E
analogous
#6C18B4 #B418AE #B41860
triadic
#B418AE #AEB418 #18AEB4
tetradic
#B418AE #B46C18 #18B41E #1860B4
square
#B418AE #B46C18 #18B41E #1860B4
split-complementary
#B418AE #60B418 #18B46C
monochromatic
#480A46 #7E117A #B418AE #E227DB #E95DE4

Accessibility & contrast

On white

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

On black

3.68
#B418AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B418AE#FFFFFF#000000##FFFFFF
##B418AE1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#4F6DAB
Tritanopia (blue-blind)
#BB3568
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b418ae;
/* rgb */ color: rgb(180, 24, 174);
/* oklch */ color: oklch(54.3% 0.235 330.1);
Tailwind
colors: {
  custom: {
    50: '#cf6ec7',
    500: '#b418ae',
    950: '#000000',
  },
}
SCSS
$custom: #b418ae;
$custom-light: #cf6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#b418ae",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 174
  },
  "hsl": {
    "h": 302.308,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.54345,
    "c": 0.23494,
    "h": 330.1
  },
  "luminance": 0.13413
}

Semantic roles & 50–950 ramp

primary
#B418AE
secondary
#5BCD5F
accent
#F33C35
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B418AE

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

Preview Lab → · Contrast checker → · Palette generator →

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