#B413AF#B413AF

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

Color values

HEX#B413AF
RGBrgb(180, 19, 175)
HSLhsl(302, 81%, 39%)
HSVhsv(302, 89%, 71%)
CMYKcmyk(0%, 89.4%, 2.8%, 29.4%)
CIE-LABlab(43.16, 72.83, -43.24)
CIE-LCHlch(43.16, 84.70, 329.31°)
OKLaboklab(54.21% 0.206 -0.1198)
OKLCHoklch(54.21% 0.238 329.8)
XYZxyz(26.7930, 13.2664, 41.6987)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B413AF #13B418
analogous
#6913B4 #B413AF #B4135F
triadic
#B413AF #AFB413 #13AFB4
tetradic
#B413AF #B46913 #13B418 #135FB4
square
#B413AF #B46913 #13B418 #135FB4
split-complementary
#B413AF #5FB413 #13B469
monochromatic
#450743 #7D0D79 #B413AF #E71DE1 #ED54E8

Accessibility & contrast

On white

5.75
#B413AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B413AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B413AF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B413AF#FFFFFF#000000##FFFFFF
##B413AF1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#4E6DAC
Tritanopia (blue-blind)
#BB3367
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b413af;
/* rgb */ color: rgb(180, 19, 175);
/* oklch */ color: oklch(54.2% 0.238 329.8);
Tailwind
colors: {
  custom: {
    50: '#cf6dc7',
    500: '#b413af',
    950: '#000000',
  },
}
SCSS
$custom: #b413af;
$custom-light: #cf6dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#b413af",
  "rgb": {
    "r": 180,
    "g": 19,
    "b": 175
  },
  "hsl": {
    "h": 301.863,
    "s": 80.905,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54208,
    "c": 0.23828,
    "h": 329.8
  },
  "luminance": 0.13264
}

Semantic roles & 50–950 ramp

primary
#B413AF
secondary
#53CF57
accent
#F73730
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140813
muted
#837B82

Preview Lab

Preview with #B413AF

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

Preview Lab → · Contrast checker → · Palette generator →

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