#B04DBB#B04DBB

#B04DBB is a mid, vivid purple. Relative luminance 0.181; OKLCH L 59.0% C 0.187 H 323.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B04DBB
RGBrgb(176, 77, 187)
HSLhsl(294, 45%, 52%)
HSVhsv(294, 59%, 73%)
CMYKcmyk(5.9%, 58.8%, 0%, 26.7%)
CIE-LABlab(49.65, 55.66, -40.02)
CIE-LCHlch(49.65, 68.55, 324.28°)
OKLaboklab(58.95% 0.1503 -0.1109)
OKLCHoklch(58.95% 0.187 323.6)
XYZxyz(29.5272, 18.1273, 48.9477)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DBB #58BB4D
analogous
#794DBB #B04DBB #BB4D8F
triadic
#B04DBB #BBB04D #4DBBB0
tetradic
#B04DBB #BB794D #58BB4D #4D8FBB
square
#B04DBB #BB794D #58BB4D #4D8FBB
split-complementary
#B04DBB #8FBB4D #4DBB79
monochromatic
#602766 #8A3893 #B04DBB #C479CC #D7A6DD

Accessibility & contrast

On white

4.54
#B04DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#B04DBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DBB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DBB#FFFFFF#000000##000000
##B04DBB1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBE
Deuteranopia (green-blind)
#5D7AB8
Tritanopia (blue-blind)
#B35D7D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b04dbb;
/* rgb */ color: rgb(176, 77, 187);
/* oklch */ color: oklch(59.0% 0.187 323.6);
Tailwind
colors: {
  custom: {
    50: '#ca84d0',
    500: '#b04dbb',
    950: '#000000',
  },
}
SCSS
$custom: #b04dbb;
$custom-light: #ca84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b04dbb",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 294,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58954,
    "c": 0.18681,
    "h": 323.6
  },
  "luminance": 0.18126
}

Semantic roles & 50–950 ramp

primary
#B04DBB
secondary
#9FCA9A
accent
#D45360
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B04DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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