#B01DB4#B01DB4

#B01DB4 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.3% C 0.234 H 327.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B01DB4
RGBrgb(176, 29, 180)
HSLhsl(298, 72%, 41%)
HSVhsv(298, 84%, 71%)
CMYKcmyk(2.2%, 83.9%, 0%, 29.4%)
CIE-LABlab(43.37, 71.08, -45.90)
CIE-LCHlch(43.37, 84.61, 327.14°)
OKLaboklab(54.32% 0.1965 -0.1277)
OKLCHoklch(54.32% 0.234 327)
XYZxyz(26.5816, 13.4061, 44.3588)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B01DB4 #21B41D
analogous
#651DB4 #B01DB4 #B41D6C
triadic
#B01DB4 #B4B01D #1DB4B0
tetradic
#B01DB4 #B4651D #21B41D #1D6CB4
square
#B01DB4 #B4651D #21B41D #1D6CB4
split-complementary
#B01DB4 #6CB41D #1DB465
monochromatic
#490C4B #7C157F #B01DB4 #D930DE #E365E6

Accessibility & contrast

On white

5.71
#B01DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B01DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B01DB4
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B01DB4#FFFFFF#000000##FFFFFF
##B01DB41.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#496DB1
Tritanopia (blue-blind)
#B53C6C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b01db4;
/* rgb */ color: rgb(176, 29, 180);
/* oklch */ color: oklch(54.3% 0.234 327.0);
Tailwind
colors: {
  custom: {
    50: '#cc6fcb',
    500: '#b01db4',
    950: '#000000',
  },
}
SCSS
$custom: #b01db4;
$custom-light: #cc6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#b01db4",
  "rgb": {
    "r": 176,
    "g": 29,
    "b": 180
  },
  "hsl": {
    "h": 298.411,
    "s": 72.249,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54318,
    "c": 0.23435,
    "h": 327
  },
  "luminance": 0.13404
}

Semantic roles & 50–950 ramp

primary
#B01DB4
secondary
#64CB61
accent
#EF393E
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B01DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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