#B417A3#B417A3

#B417A3 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.85:1 contrast (WCAG AA passes).

Color values

HEX#B417A3
RGBrgb(180, 23, 163)
HSLhsl(306, 77%, 40%)
HSVhsv(306, 87%, 71%)
CMYKcmyk(0%, 87.2%, 9.4%, 29.4%)
CIE-LABlab(42.71, 70.44, -36.81)
CIE-LCHlch(42.71, 79.48, 332.41°)
OKLaboklab(53.67% 0.2044 -0.1012)
OKLCHoklch(53.67% 0.228 333.7)
XYZxyz(25.7399, 12.9628, 35.7897)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B417A3 #17B428
analogous
#7717B4 #B417A3 #B41754
triadic
#B417A3 #A3B417 #17A3B4
tetradic
#B417A3 #B47717 #17B428 #1754B4
square
#B417A3 #B47717 #17B428 #1754B4
split-complementary
#B417A3 #54B417 #17B477
monochromatic
#470941 #7E1072 #B417A3 #E325CF #EA5BDB

Accessibility & contrast

On white

5.85
#B417A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B417A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B417A3
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B417A3#FFFFFF#000000##FFFFFF
##B417A31.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b417a3;
/* rgb */ color: rgb(180, 23, 163);
/* oklch */ color: oklch(53.7% 0.228 333.7);
Tailwind
colors: {
  custom: {
    50: '#cf6dbf',
    500: '#b417a3',
    950: '#000000',
  },
}
SCSS
$custom: #b417a3;
$custom-light: #cf6dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#b417a3",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 163
  },
  "hsl": {
    "h": 306.497,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.53669,
    "c": 0.22811,
    "h": 333.7
  },
  "luminance": 0.1296
}

Semantic roles & 50–950 ramp

primary
#B417A3
secondary
#59CE66
accent
#F44934
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B417A3

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

Preview Lab → · Contrast checker → · Palette generator →

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