#B417AE#B417AE

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

Color values

HEX#B417AE
RGBrgb(180, 23, 174)
HSLhsl(302, 77%, 40%)
HSVhsv(302, 87%, 71%)
CMYKcmyk(0%, 87.2%, 3.3%, 29.4%)
CIE-LABlab(43.32, 72.04, -42.39)
CIE-LCHlch(43.32, 83.59, 329.53°)
OKLaboklab(54.3% 0.2042 -0.1174)
OKLCHoklch(54.3% 0.236 330.1)
XYZxyz(26.7687, 13.3743, 41.2078)
Luminance0.1337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B417AE #17B41D
analogous
#6C17B4 #B417AE #B41760
triadic
#B417AE #AEB417 #17AEB4
tetradic
#B417AE #B46C17 #17B41D #1760B4
square
#B417AE #B46C17 #17B41D #1760B4
split-complementary
#B417AE #60B417 #17B46C
monochromatic
#470945 #7E107A #B417AE #E325DC #EA5BE5

Accessibility & contrast

On white

5.72
#B417AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B417AE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B417AE#FFFFFF#000000##FFFFFF
##B417AE1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#4F6DAB
Tritanopia (blue-blind)
#BB3467
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b417ae;
/* rgb */ color: rgb(180, 23, 174);
/* oklch */ color: oklch(54.3% 0.236 330.1);
Tailwind
colors: {
  custom: {
    50: '#cf6ec7',
    500: '#b417ae',
    950: '#000000',
  },
}
SCSS
$custom: #b417ae;
$custom-light: #cf6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#b417ae",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 174
  },
  "hsl": {
    "h": 302.293,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54302,
    "c": 0.23551,
    "h": 330.1
  },
  "luminance": 0.13372
}

Semantic roles & 50–950 ramp

primary
#B417AE
secondary
#59CE5E
accent
#F43B34
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140813
muted
#837B82

Preview Lab

Preview with #B417AE

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

Preview Lab → · Contrast checker → · Palette generator →

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