#B418A3#B418A3

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

Color values

HEX#B418A3
RGBrgb(180, 24, 163)
HSLhsl(307, 76%, 40%)
HSVhsv(307, 87%, 71%)
CMYKcmyk(0%, 86.7%, 9.4%, 29.4%)
CIE-LABlab(42.77, 70.26, -36.71)
CIE-LCHlch(42.77, 79.27, 332.41°)
OKLaboklab(53.71% 0.2039 -0.1009)
OKLCHoklch(53.71% 0.228 333.7)
XYZxyz(25.7601, 13.0033, 35.7964)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B418A3 #18B429
analogous
#7718B4 #B418A3 #B41855
triadic
#B418A3 #A3B418 #18A3B4
tetradic
#B418A3 #B47718 #18B429 #1855B4
square
#B418A3 #B47718 #18B429 #1855B4
split-complementary
#B418A3 #55B418 #18B477
monochromatic
#480A41 #7E1172 #B418A3 #E227CE #E95DDA

Accessibility & contrast

On white

5.83
#B418A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B418A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B418A3
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B418A3#FFFFFF#000000##FFFFFF
##B418A31.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D57A6
Deuteranopia (green-blind)
#566CA0
Tritanopia (blue-blind)
#BD2D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b418a3;
/* rgb */ color: rgb(180, 24, 163);
/* oklch */ color: oklch(53.7% 0.228 333.7);
Tailwind
colors: {
  custom: {
    50: '#cf6ebf',
    500: '#b418a3',
    950: '#000000',
  },
}
SCSS
$custom: #b418a3;
$custom-light: #cf6ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#b418a3",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 163
  },
  "hsl": {
    "h": 306.538,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.53712,
    "c": 0.22752,
    "h": 333.7
  },
  "luminance": 0.13001
}

Semantic roles & 50–950 ramp

primary
#B418A3
secondary
#5BCD67
accent
#F34A35
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B418A3

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

Preview Lab → · Contrast checker → · Palette generator →

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