#B04BD1#B04BD1

#B04BD1 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.0% C 0.210 H 316.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B04BD1
RGBrgb(176, 75, 209)
HSLhsl(285, 59%, 56%)
HSVhsv(285, 64%, 82%)
CMYKcmyk(15.8%, 64.1%, 0%, 18%)
CIE-LABlab(50.53, 60.80, -51.30)
CIE-LCHlch(50.53, 79.55, 319.84°)
OKLaboklab(59.98% 0.1532 -0.1438)
OKLCHoklch(59.98% 0.21 316.8)
XYZxyz(31.9275, 18.8669, 62.2691)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BD1 #6CD14B
analogous
#6D4BD1 #B04BD1 #D14BAF
triadic
#B04BD1 #D1B04B #4BD1B0
tetradic
#B04BD1 #D16D4B #6CD14B #4BAFD1
square
#B04BD1 #D16D4B #6CD14B #4BAFD1
split-complementary
#B04BD1 #AFD14B #4BD16D
monochromatic
#692181 #912DB1 #B04BD1 #C57CDD #DBACEA

Accessibility & contrast

On white

4.40
#B04BD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B04BD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BD1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BD1#FFFFFF#000000##000000
##B04BD11.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1972D5
Deuteranopia (green-blind)
#4D7BCE
Tritanopia (blue-blind)
#AE6388
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b04bd1;
/* rgb */ color: rgb(176, 75, 209);
/* oklch */ color: oklch(60.0% 0.210 316.8);
Tailwind
colors: {
  custom: {
    50: '#cb84e0',
    500: '#b04bd1',
    950: '#000000',
  },
}
SCSS
$custom: #b04bd1;
$custom-light: #cb84e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bd1",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 209
  },
  "hsl": {
    "h": 285.224,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59984,
    "c": 0.21015,
    "h": 316.8
  },
  "luminance": 0.18866
}

Semantic roles & 50–950 ramp

primary
#B04BD1
secondary
#AED8A0
accent
#E2456C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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