#B418AD#B418AD

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

Color values

HEX#B418AD
RGBrgb(180, 24, 173)
HSLhsl(303, 76%, 40%)
HSVhsv(303, 87%, 71%)
CMYKcmyk(0%, 86.7%, 3.9%, 29.4%)
CIE-LABlab(43.32, 71.72, -41.79)
CIE-LCHlch(43.32, 83.01, 329.77°)
OKLaboklab(54.29% 0.2037 -0.1156)
OKLCHoklch(54.29% 0.234 330.4)
XYZxyz(26.6918, 13.3759, 40.7031)
Luminance0.1337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B418AD #18B41F
analogous
#6D18B4 #B418AD #B4185F
triadic
#B418AD #ADB418 #18ADB4
tetradic
#B418AD #B46D18 #18B41F #185FB4
square
#B418AD #B46D18 #18B41F #185FB4
split-complementary
#B418AD #5FB418 #18B46D
monochromatic
#480A45 #7E1179 #B418AD #E227DA #E95DE3

Accessibility & contrast

On white

5.71
#B418AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B418AD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B418AD#FFFFFF#000000##FFFFFF
##B418AD1.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#506DAA
Tritanopia (blue-blind)
#BB3467
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b418ad;
/* rgb */ color: rgb(180, 24, 173);
/* oklch */ color: oklch(54.3% 0.234 330.4);
Tailwind
colors: {
  custom: {
    50: '#cf6ec6',
    500: '#b418ad',
    950: '#000000',
  },
}
SCSS
$custom: #b418ad;
$custom-light: #cf6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#b418ad",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 173
  },
  "hsl": {
    "h": 302.692,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.54286,
    "c": 0.23426,
    "h": 330.4
  },
  "luminance": 0.13374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B418AD

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

Preview Lab → · Contrast checker → · Palette generator →

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