#B04CD4#B04CD4

#B04CD4 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.3% C 0.212 H 315.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B04CD4
RGBrgb(176, 76, 212)
HSLhsl(284, 61%, 56%)
HSVhsv(284, 64%, 83%)
CMYKcmyk(17%, 64.2%, 0%, 16.9%)
CIE-LABlab(50.87, 60.96, -52.48)
CIE-LCHlch(50.87, 80.43, 319.27°)
OKLaboklab(60.28% 0.152 -0.1473)
OKLCHoklch(60.28% 0.212 315.9)
XYZxyz(32.3708, 19.1536, 64.2664)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CD4 #70D44C
analogous
#6C4CD4 #B04CD4 #D44CB4
triadic
#B04CD4 #D4B04C #4CD4B0
tetradic
#B04CD4 #D46C4C #70D44C #4CB4D4
square
#B04CD4 #D46C4C #70D44C #4CB4D4
split-complementary
#B04CD4 #B4D44C #4CD46C
monochromatic
#6B2086 #922CB7 #B04CD4 #C67DE0 #DCAFEC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B04CD4#FFFFFF#000000##000000
##B04CD41.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)
#1573D8
Deuteranopia (green-blind)
#4C7CD1
Tritanopia (blue-blind)
#AE6589
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b04cd4;
/* rgb */ color: rgb(176, 76, 212);
/* oklch */ color: oklch(60.3% 0.212 315.9);
Tailwind
colors: {
  custom: {
    50: '#cb84e2',
    500: '#b04cd4',
    950: '#000000',
  },
}
SCSS
$custom: #b04cd4;
$custom-light: #cb84e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cd4",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 284.118,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60283,
    "c": 0.21166,
    "h": 315.9
  },
  "luminance": 0.19152
}

Semantic roles & 50–950 ramp

primary
#B04CD4
secondary
#B1DAA2
accent
#E4436E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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