#B417A4#B417A4

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

Color values

HEX#B417A4
RGBrgb(180, 23, 164)
HSLhsl(306, 77%, 40%)
HSVhsv(306, 87%, 71%)
CMYKcmyk(0%, 87.2%, 8.9%, 29.4%)
CIE-LABlab(42.76, 70.58, -37.32)
CIE-LCHlch(42.76, 79.84, 332.13°)
OKLaboklab(53.73% 0.2044 -0.1027)
OKLCHoklch(53.73% 0.229 333.3)
XYZxyz(25.8299, 12.9988, 36.2634)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B417A4 #17B427
analogous
#7617B4 #B417A4 #B41755
triadic
#B417A4 #A4B417 #17A4B4
tetradic
#B417A4 #B47617 #17B427 #1755B4
square
#B417A4 #B47617 #17B427 #1755B4
split-complementary
#B417A4 #55B417 #17B476
monochromatic
#470941 #7E1073 #B417A4 #E325D0 #EA5BDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B417A4#FFFFFF#000000##FFFFFF
##B417A41.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)
#0857A7
Deuteranopia (green-blind)
#556CA1
Tritanopia (blue-blind)
#BD2E62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b417a4;
/* rgb */ color: rgb(180, 23, 164);
/* oklch */ color: oklch(53.7% 0.229 333.3);
Tailwind
colors: {
  custom: {
    50: '#cf6dbf',
    500: '#b417a4',
    950: '#000000',
  },
}
SCSS
$custom: #b417a4;
$custom-light: #cf6dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#b417a4",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 164
  },
  "hsl": {
    "h": 306.115,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.53725,
    "c": 0.22877,
    "h": 333.3
  },
  "luminance": 0.12996
}

Semantic roles & 50–950 ramp

primary
#B417A4
secondary
#59CE65
accent
#F44734
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B417A4

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

Preview Lab → · Contrast checker → · Palette generator →

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