#B04CD1#B04CD1

#B04CD1 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.1% C 0.209 H 316.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B04CD1
RGBrgb(176, 76, 209)
HSLhsl(285, 59%, 56%)
HSVhsv(285, 64%, 82%)
CMYKcmyk(15.8%, 63.6%, 0%, 18%)
CIE-LABlab(50.69, 60.36, -51.04)
CIE-LCHlch(50.69, 79.05, 319.78°)
OKLaboklab(60.1% 0.1521 -0.1431)
OKLCHoklch(60.1% 0.209 316.8)
XYZxyz(31.9959, 19.0037, 62.2919)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CD1 #6DD14C
analogous
#6D4CD1 #B04CD1 #D14CAF
triadic
#B04CD1 #D1B04C #4CD1B0
tetradic
#B04CD1 #D16D4C #6DD14C #4CAFD1
square
#B04CD1 #D16D4C #6DD14C #4CAFD1
split-complementary
#B04CD1 #AFD14C #4CD16D
monochromatic
#6A2181 #912EB2 #B04CD1 #C57DDE #DBADEA

Accessibility & contrast

On white

4.37
#B04CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B04CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CD1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CD1#FFFFFF#000000##000000
##B04CD11.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C72D5
Deuteranopia (green-blind)
#4E7CCE
Tritanopia (blue-blind)
#AE6488
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b04cd1;
/* rgb */ color: rgb(176, 76, 209);
/* oklch */ color: oklch(60.1% 0.209 316.8);
Tailwind
colors: {
  custom: {
    50: '#cb84e0',
    500: '#b04cd1',
    950: '#000000',
  },
}
SCSS
$custom: #b04cd1;
$custom-light: #cb84e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cd1",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 285.113,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.601,
    "c": 0.2088,
    "h": 316.8
  },
  "luminance": 0.19002
}

Semantic roles & 50–950 ramp

primary
#B04CD1
secondary
#AFD8A1
accent
#E2466C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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