#B04DB7#B04DB7

#B04DB7 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.7% C 0.183 H 325.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B04DB7
RGBrgb(176, 77, 183)
HSLhsl(296, 42%, 51%)
HSVhsv(296, 58%, 72%)
CMYKcmyk(3.8%, 57.9%, 0%, 28.2%)
CIE-LABlab(49.45, 54.92, -38.02)
CIE-LCHlch(49.45, 66.79, 325.31°)
OKLaboklab(58.74% 0.15 -0.1051)
OKLCHoklch(58.74% 0.183 325)
XYZxyz(29.1049, 17.9584, 46.7238)
Luminance0.1796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DB7 #54B74D
analogous
#7B4DB7 #B04DB7 #B74D89
triadic
#B04DB7 #B7B04D #4DB7B0
tetradic
#B04DB7 #B77B4D #54B74D #4D89B7
square
#B04DB7 #B77B4D #54B74D #4D89B7
split-complementary
#B04DB7 #89B74D #4DB77B
monochromatic
#5E2862 #88398E #B04DB7 #C379C9 #D7A4DA

Accessibility & contrast

On white

4.57
#B04DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#B04DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DB7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DB7#FFFFFF#000000##000000
##B04DB71.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6EBA
Deuteranopia (green-blind)
#5F7AB4
Tritanopia (blue-blind)
#B45B7B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b04db7;
/* rgb */ color: rgb(176, 77, 183);
/* oklch */ color: oklch(58.7% 0.183 325.0);
Tailwind
colors: {
  custom: {
    50: '#ca84cd',
    500: '#b04db7',
    950: '#000000',
  },
}
SCSS
$custom: #b04db7;
$custom-light: #ca84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b04db7",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 183
  },
  "hsl": {
    "h": 296.038,
    "s": 42.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58739,
    "c": 0.18317,
    "h": 325
  },
  "luminance": 0.17957
}

Semantic roles & 50–950 ramp

primary
#B04DB7
secondary
#9CC798
accent
#D2565E
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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