#B415A1#B415A1

#B415A1 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.5% C 0.228 H 334.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B415A1
RGBrgb(180, 21, 161)
HSLhsl(307, 79%, 39%)
HSVhsv(307, 88%, 71%)
CMYKcmyk(0%, 88.3%, 10.6%, 29.4%)
CIE-LABlab(42.48, 70.50, -35.96)
CIE-LCHlch(42.48, 79.14, 332.97°)
OKLaboklab(53.47% 0.2054 -0.0987)
OKLCHoklch(53.47% 0.228 334.3)
XYZxyz(25.5239, 12.8152, 34.8407)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B415A1 #15B428
analogous
#7815B4 #B415A1 #B41552
triadic
#B415A1 #A1B415 #15A1B4
tetradic
#B415A1 #B47815 #15B428 #1552B4
square
#B415A1 #B47815 #15B428 #1552B4
split-complementary
#B415A1 #52B415 #15B478
monochromatic
#46083F #7D0F70 #B415A1 #E521CE #EC58DA

Accessibility & contrast

On white

5.89
#B415A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B415A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B415A1
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B415A1#FFFFFF#000000##FFFFFF
##B415A11.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E56A4
Deuteranopia (green-blind)
#566C9E
Tritanopia (blue-blind)
#BD2B5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b415a1;
/* rgb */ color: rgb(180, 21, 161);
/* oklch */ color: oklch(53.5% 0.228 334.3);
Tailwind
colors: {
  custom: {
    50: '#cf6dbd',
    500: '#b415a1',
    950: '#000000',
  },
}
SCSS
$custom: #b415a1;
$custom-light: #cf6dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b415a1",
  "rgb": {
    "r": 180,
    "g": 21,
    "b": 161
  },
  "hsl": {
    "h": 307.17,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.53475,
    "c": 0.22792,
    "h": 334.3
  },
  "luminance": 0.12813
}

Semantic roles & 50–950 ramp

primary
#B415A1
secondary
#56CF65
accent
#F64A32
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B415A1

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

Preview Lab → · Contrast checker → · Palette generator →

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