#B415A0#B415A0

#B415A0 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.227 H 334.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B415A0
RGBrgb(180, 21, 160)
HSLhsl(308, 79%, 39%)
HSVhsv(308, 88%, 71%)
CMYKcmyk(0%, 88.3%, 11.1%, 29.4%)
CIE-LABlab(42.43, 70.36, -35.45)
CIE-LCHlch(42.43, 78.78, 333.26°)
OKLaboklab(53.42% 0.2054 -0.0972)
OKLCHoklch(53.42% 0.227 334.7)
XYZxyz(25.4361, 12.7801, 34.3781)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B415A0 #15B429
analogous
#7915B4 #B415A0 #B41551
triadic
#B415A0 #A0B415 #15A0B4
tetradic
#B415A0 #B47915 #15B429 #1551B4
square
#B415A0 #B47915 #15B429 #1551B4
split-complementary
#B415A0 #51B415 #15B479
monochromatic
#46083F #7D0F6F #B415A0 #E521CC #EC58D9

Accessibility & contrast

On white

5.91
#B415A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B415A0
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B415A0#FFFFFF#000000##FFFFFF
##B415A01.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1056A3
Deuteranopia (green-blind)
#566C9D
Tritanopia (blue-blind)
#BD2A5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b415a0;
/* rgb */ color: rgb(180, 21, 160);
/* oklch */ color: oklch(53.4% 0.227 334.7);
Tailwind
colors: {
  custom: {
    50: '#cf6dbc',
    500: '#b415a0',
    950: '#000000',
  },
}
SCSS
$custom: #b415a0;
$custom-light: #cf6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#b415a0",
  "rgb": {
    "r": 180,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 307.547,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5342,
    "c": 0.22727,
    "h": 334.7
  },
  "luminance": 0.12778
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B415A0

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

Preview Lab → · Contrast checker → · Palette generator →

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