#B04DD1#B04DD1

#B04DD1 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.2% C 0.207 H 316.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B04DD1
RGBrgb(176, 77, 209)
HSLhsl(285, 59%, 56%)
HSVhsv(285, 63%, 82%)
CMYKcmyk(15.8%, 63.2%, 0%, 18%)
CIE-LABlab(50.85, 59.91, -50.79)
CIE-LCHlch(50.85, 78.54, 319.71°)
OKLaboklab(60.22% 0.1509 -0.1423)
OKLCHoklch(60.22% 0.207 316.7)
XYZxyz(32.0653, 19.1425, 62.3150)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DD1 #6ED14D
analogous
#6E4DD1 #B04DD1 #D14DB0
triadic
#B04DD1 #D1B04D #4DD1B0
tetradic
#B04DD1 #D16E4D #6ED14D #4DB0D1
square
#B04DD1 #D16E4D #6ED14D #4DB0D1
split-complementary
#B04DD1 #B0D14D #4DD16E
monochromatic
#6A2282 #922EB3 #B04DD1 #C67EDE #DBAEEA

Accessibility & contrast

On white

4.35
#B04DD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B04DD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DD1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DD1#FFFFFF#000000##000000
##B04DD11.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F73D5
Deuteranopia (green-blind)
#4F7CCE
Tritanopia (blue-blind)
#AE6588
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b04dd1;
/* rgb */ color: rgb(176, 77, 209);
/* oklch */ color: oklch(60.2% 0.207 316.7);
Tailwind
colors: {
  custom: {
    50: '#cb85e0',
    500: '#b04dd1',
    950: '#000000',
  },
}
SCSS
$custom: #b04dd1;
$custom-light: #cb85e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b04dd1",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 209
  },
  "hsl": {
    "h": 285,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60217,
    "c": 0.20744,
    "h": 316.7
  },
  "luminance": 0.19141
}

Semantic roles & 50–950 ramp

primary
#B04DD1
secondary
#AFD8A2
accent
#E2466D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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