#B415A3#B415A3

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

Color values

HEX#B415A3
RGBrgb(180, 21, 163)
HSLhsl(306, 79%, 39%)
HSVhsv(306, 88%, 71%)
CMYKcmyk(0%, 88.3%, 9.4%, 29.4%)
CIE-LABlab(42.59, 70.78, -36.99)
CIE-LCHlch(42.59, 79.86, 332.41°)
OKLaboklab(53.59% 0.2054 -0.1017)
OKLCHoklch(53.59% 0.229 333.7)
XYZxyz(25.7017, 12.8863, 35.7769)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B415A3 #15B426
analogous
#7615B4 #B415A3 #B41554
triadic
#B415A3 #A3B415 #15A3B4
tetradic
#B415A3 #B47615 #15B426 #1554B4
square
#B415A3 #B47615 #15B426 #1554B4
split-complementary
#B415A3 #54B415 #15B476
monochromatic
#460840 #7D0F71 #B415A3 #E521D0 #EC58DC

Accessibility & contrast

On white

5.87
#B415A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B415A3
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B415A3#FFFFFF#000000##FFFFFF
##B415A31.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0857A6
Deuteranopia (green-blind)
#556CA0
Tritanopia (blue-blind)
#BD2C61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b415a3;
/* rgb */ color: rgb(180, 21, 163);
/* oklch */ color: oklch(53.6% 0.229 333.7);
Tailwind
colors: {
  custom: {
    50: '#cf6dbf',
    500: '#b415a3',
    950: '#000000',
  },
}
SCSS
$custom: #b415a3;
$custom-light: #cf6dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#b415a3",
  "rgb": {
    "r": 180,
    "g": 21,
    "b": 163
  },
  "hsl": {
    "h": 306.415,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.53586,
    "c": 0.22923,
    "h": 333.7
  },
  "luminance": 0.12884
}

Semantic roles & 50–950 ramp

primary
#B415A3
secondary
#56CF63
accent
#F64732
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B415A3

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

Preview Lab → · Contrast checker → · Palette generator →

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