#B04DBE#B04DBE

#B04DBE is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.1% C 0.190 H 322.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B04DBE
RGBrgb(176, 77, 190)
HSLhsl(293, 47%, 52%)
HSVhsv(293, 59%, 75%)
CMYKcmyk(7.4%, 59.5%, 0%, 25.5%)
CIE-LABlab(49.81, 56.22, -41.51)
CIE-LCHlch(49.81, 69.89, 323.56°)
OKLaboklab(59.12% 0.1505 -0.1153)
OKLCHoklch(59.12% 0.19 322.5)
XYZxyz(29.8517, 18.2571, 50.6568)
Luminance0.1826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DBE #5BBE4D
analogous
#774DBE #B04DBE #BE4D94
triadic
#B04DBE #BEB04D #4DBEB0
tetradic
#B04DBE #BE774D #5BBE4D #4D94BE
square
#B04DBE #BE774D #5BBE4D #4D94BE
split-complementary
#B04DBE #94BE4D #4DBE77
monochromatic
#62276A #8B3797 #B04DBE #C47ACE #D8A7DF

Accessibility & contrast

On white

4.51
#B04DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B04DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DBE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DBE#FFFFFF#000000##000000
##B04DBE1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#376FC2
Deuteranopia (green-blind)
#5C7ABB
Tritanopia (blue-blind)
#B25E7E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b04dbe;
/* rgb */ color: rgb(176, 77, 190);
/* oklch */ color: oklch(59.1% 0.190 322.5);
Tailwind
colors: {
  custom: {
    50: '#ca84d2',
    500: '#b04dbe',
    950: '#000000',
  },
}
SCSS
$custom: #b04dbe;
$custom-light: #ca84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b04dbe",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 292.566,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59119,
    "c": 0.18957,
    "h": 322.5
  },
  "luminance": 0.18256
}

Semantic roles & 50–950 ramp

primary
#B04DBE
secondary
#A1CC9B
accent
#D65262
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B04DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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