#B04CDC#B04CDC

#B04CDC is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.8% C 0.219 H 313.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B04CDC
RGBrgb(176, 76, 220)
HSLhsl(282, 67%, 58%)
HSVhsv(282, 65%, 86%)
CMYKcmyk(20%, 65.5%, 0%, 13.7%)
CIE-LABlab(51.34, 62.58, -56.27)
CIE-LCHlch(51.34, 84.15, 318.04°)
OKLaboklab(60.78% 0.1517 -0.1583)
OKLCHoklch(60.78% 0.219 313.8)
XYZxyz(33.4050, 19.5673, 69.7135)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CDC #78DC4C
analogous
#684CDC #B04CDC #DC4CC0
triadic
#B04CDC #DCB04C #4CDCB0
tetradic
#B04CDC #DC684C #78DC4C #4CC0DC
square
#B04CDC #DC684C #78DC4C #4CC0DC
split-complementary
#B04CDC #C0DC4C #4CDC68
monochromatic
#6E1C91 #9426C4 #B04CDC #C77FE6 #DDB2F0

Accessibility & contrast

On white

4.27
#B04CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B04CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CDC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CDC#FFFFFF#000000##000000
##B04CDC1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#447DD9
Tritanopia (blue-blind)
#AC688E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b04cdc;
/* rgb */ color: rgb(176, 76, 220);
/* oklch */ color: oklch(60.8% 0.219 313.8);
Tailwind
colors: {
  custom: {
    50: '#cb85e8',
    500: '#b04cdc',
    950: '#000000',
  },
}
SCSS
$custom: #b04cdc;
$custom-light: #cb85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cdc",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 281.667,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6078,
    "c": 0.2193,
    "h": 313.8
  },
  "luminance": 0.19566
}

Semantic roles & 50–950 ramp

primary
#B04CDC
secondary
#B7DFA5
accent
#EA3E72
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #B04CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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