#B31DA0#B31DA0

#B31DA0 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.222 H 334.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B31DA0
RGBrgb(179, 29, 160)
HSLhsl(308, 72%, 41%)
HSVhsv(308, 84%, 70%)
CMYKcmyk(0%, 83.8%, 10.6%, 29.8%)
CIE-LABlab(42.77, 68.65, -34.93)
CIE-LCHlch(42.77, 77.02, 333.03°)
OKLaboklab(53.63% 0.2 -0.0958)
OKLCHoklch(53.63% 0.222 334.4)
XYZxyz(25.3752, 13.0028, 34.4243)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31DA0 #1DB330
analogous
#7B1DB3 #B31DA0 #B31D55
triadic
#B31DA0 #A0B31D #1DA0B3
tetradic
#B31DA0 #B37B1D #1DB330 #1D55B3
square
#B31DA0 #B37B1D #1DB330 #1D55B3
split-complementary
#B31DA0 #55B31D #1DB37B
monochromatic
#4A0C42 #7E1471 #B31DA0 #DD30C7 #E664D6

Accessibility & contrast

On white

5.83
#B31DA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B31DA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31DA0
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31DA0#FFFFFF#000000##FFFFFF
##B31DA01.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1957A3
Deuteranopia (green-blind)
#576C9D
Tritanopia (blue-blind)
#BC2F60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b31da0;
/* rgb */ color: rgb(179, 29, 160);
/* oklch */ color: oklch(53.6% 0.222 334.4);
Tailwind
colors: {
  custom: {
    50: '#ce6fbc',
    500: '#b31da0',
    950: '#000000',
  },
}
SCSS
$custom: #b31da0;
$custom-light: #ce6fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#b31da0",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 307.6,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.53627,
    "c": 0.22177,
    "h": 334.4
  },
  "luminance": 0.13001
}

Semantic roles & 50–950 ramp

primary
#B31DA0
secondary
#61CB6E
accent
#EF5039
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B31DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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