#B04DBF#B04DBF

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

Color values

HEX#B04DBF
RGBrgb(176, 77, 191)
HSLhsl(292, 47%, 53%)
HSVhsv(292, 60%, 75%)
CMYKcmyk(7.9%, 59.7%, 0%, 25.1%)
CIE-LABlab(49.86, 56.41, -42.01)
CIE-LCHlch(49.86, 70.33, 323.32°)
OKLaboklab(59.18% 0.1505 -0.1167)
OKLCHoklch(59.18% 0.19 322.2)
XYZxyz(29.9614, 18.3010, 51.2344)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DBF #5CBF4D
analogous
#774DBF #B04DBF #BF4D95
triadic
#B04DBF #BFB04D #4DBFB0
tetradic
#B04DBF #BF774D #5CBF4D #4D95BF
square
#B04DBF #BF774D #5CBF4D #4D95BF
split-complementary
#B04DBF #95BF4D #4DBF77
monochromatic
#62276B #8B3798 #B04DBF #C47ACF #D8A7DF

Accessibility & contrast

On white

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

On black

4.66
#B04DBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DBF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DBF#FFFFFF#000000##000000
##B04DBF1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#366FC3
Deuteranopia (green-blind)
#5B7ABC
Tritanopia (blue-blind)
#B25E7F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b04dbf;
/* rgb */ color: rgb(176, 77, 191);
/* oklch */ color: oklch(59.2% 0.190 322.2);
Tailwind
colors: {
  custom: {
    50: '#ca84d3',
    500: '#b04dbf',
    950: '#000000',
  },
}
SCSS
$custom: #b04dbf;
$custom-light: #ca84d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b04dbf",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 292.105,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59175,
    "c": 0.19049,
    "h": 322.2
  },
  "luminance": 0.18299
}

Semantic roles & 50–950 ramp

primary
#B04DBF
secondary
#A2CD9B
accent
#D75163
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B04DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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