#B417AD#B417AD

#B417AD is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.2% C 0.235 H 330.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B417AD
RGBrgb(180, 23, 173)
HSLhsl(303, 77%, 40%)
HSVhsv(303, 87%, 71%)
CMYKcmyk(0%, 87.2%, 3.9%, 29.4%)
CIE-LABlab(43.26, 71.90, -41.89)
CIE-LCHlch(43.26, 83.21, 329.78°)
OKLaboklab(54.24% 0.2042 -0.1159)
OKLCHoklch(54.24% 0.235 330.4)
XYZxyz(26.6716, 13.3355, 40.6963)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B417AD #17B41E
analogous
#6C17B4 #B417AD #B4175F
triadic
#B417AD #ADB417 #17ADB4
tetradic
#B417AD #B46C17 #17B41E #175FB4
square
#B417AD #B46C17 #17B41E #175FB4
split-complementary
#B417AD #5FB417 #17B46C
monochromatic
#470945 #7E1079 #B417AD #E325DB #EA5BE4

Accessibility & contrast

On white

5.73
#B417AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B417AD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B417AD#FFFFFF#000000##FFFFFF
##B417AD1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.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: #b417ad;
/* rgb */ color: rgb(180, 23, 173);
/* oklch */ color: oklch(54.2% 0.235 330.4);
Tailwind
colors: {
  custom: {
    50: '#cf6ec6',
    500: '#b417ad',
    950: '#000000',
  },
}
SCSS
$custom: #b417ad;
$custom-light: #cf6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#b417ad",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 173
  },
  "hsl": {
    "h": 302.675,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54243,
    "c": 0.23483,
    "h": 330.4
  },
  "luminance": 0.13333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B417AD

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

Preview Lab → · Contrast checker → · Palette generator →

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