#B31DAE#B31DAE

#B31DAE is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.4% C 0.231 H 329.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B31DAE
RGBrgb(179, 29, 174)
HSLhsl(302, 72%, 41%)
HSVhsv(302, 84%, 70%)
CMYKcmyk(0%, 83.8%, 2.8%, 29.8%)
CIE-LABlab(43.54, 70.71, -42.06)
CIE-LCHlch(43.54, 82.27, 329.26°)
OKLaboklab(54.42% 0.1999 -0.1164)
OKLCHoklch(54.42% 0.231 329.8)
XYZxyz(26.6696, 13.5206, 41.2413)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31DAE #1DB322
analogous
#6D1DB3 #B31DAE #B31D63
triadic
#B31DAE #AEB31D #1DAEB3
tetradic
#B31DAE #B36D1D #1DB322 #1D63B3
square
#B31DAE #B36D1D #1DB322 #1D63B3
split-complementary
#B31DAE #63B31D #1DB36D
monochromatic
#4A0C48 #7E147B #B31DAE #DD30D8 #E664E2

Accessibility & contrast

On white

5.67
#B31DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B31DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31DAE
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31DAE#FFFFFF#000000##FFFFFF
##B31DAE1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#506EAB
Tritanopia (blue-blind)
#BA3768
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b31dae;
/* rgb */ color: rgb(179, 29, 174);
/* oklch */ color: oklch(54.4% 0.231 329.8);
Tailwind
colors: {
  custom: {
    50: '#ce6fc7',
    500: '#b31dae',
    950: '#000000',
  },
}
SCSS
$custom: #b31dae;
$custom-light: #ce6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#b31dae",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 174
  },
  "hsl": {
    "h": 302,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.54422,
    "c": 0.23135,
    "h": 329.8
  },
  "luminance": 0.13518
}

Semantic roles & 50–950 ramp

primary
#B31DAE
secondary
#61CB64
accent
#EF3F39
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B31DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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