#B415A4#B415A4

#B415A4 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.6% C 0.230 H 333.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B415A4
RGBrgb(180, 21, 164)
HSLhsl(306, 79%, 39%)
HSVhsv(306, 88%, 71%)
CMYKcmyk(0%, 88.3%, 8.9%, 29.4%)
CIE-LABlab(42.65, 70.92, -37.50)
CIE-LCHlch(42.65, 80.23, 332.13°)
OKLaboklab(53.64% 0.2054 -0.1032)
OKLCHoklch(53.64% 0.23 333.3)
XYZxyz(25.7916, 12.9223, 36.2507)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B415A4 #15B425
analogous
#7515B4 #B415A4 #B41554
triadic
#B415A4 #A4B415 #15A4B4
tetradic
#B415A4 #B47515 #15B425 #1554B4
square
#B415A4 #B47515 #15B425 #1554B4
split-complementary
#B415A4 #54B415 #15B475
monochromatic
#460840 #7D0F72 #B415A4 #E521D1 #EC58DD

Accessibility & contrast

On white

5.86
#B415A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B415A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B415A4
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B415A4#FFFFFF#000000##FFFFFF
##B415A41.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0457A7
Deuteranopia (green-blind)
#546CA1
Tritanopia (blue-blind)
#BD2D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b415a4;
/* rgb */ color: rgb(180, 21, 164);
/* oklch */ color: oklch(53.6% 0.230 333.3);
Tailwind
colors: {
  custom: {
    50: '#cf6dbf',
    500: '#b415a4',
    950: '#000000',
  },
}
SCSS
$custom: #b415a4;
$custom-light: #cf6dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#b415a4",
  "rgb": {
    "r": 180,
    "g": 21,
    "b": 164
  },
  "hsl": {
    "h": 306.038,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.53643,
    "c": 0.2299,
    "h": 333.3
  },
  "luminance": 0.1292
}

Semantic roles & 50–950 ramp

primary
#B415A4
secondary
#56CF62
accent
#F64632
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B415A4

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

Preview Lab → · Contrast checker → · Palette generator →

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