#B04CD6#B04CD6

#B04CD6 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.4% C 0.214 H 315.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B04CD6
RGBrgb(176, 76, 214)
HSLhsl(283, 63%, 57%)
HSVhsv(283, 64%, 84%)
CMYKcmyk(17.8%, 64.5%, 0%, 16.1%)
CIE-LABlab(50.98, 61.36, -53.43)
CIE-LCHlch(50.98, 81.36, 318.95°)
OKLaboklab(60.41% 0.152 -0.15)
OKLCHoklch(60.41% 0.214 315.4)
XYZxyz(32.6246, 19.2552, 65.6034)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CD6 #72D64C
analogous
#6B4CD6 #B04CD6 #D64CB7
triadic
#B04CD6 #D6B04C #4CD6B0
tetradic
#B04CD6 #D66B4C #72D64C #4CB7D6
square
#B04CD6 #D66B4C #72D64C #4CB7D6
split-complementary
#B04CD6 #B7D64C #4CD66B
monochromatic
#6B1F88 #932BBA #B04CD6 #C67EE1 #DCB0ED

Accessibility & contrast

On white

4.33
#B04CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B04CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CD6
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CD6#FFFFFF#000000##000000
##B04CD61.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E74DA
Deuteranopia (green-blind)
#4A7CD3
Tritanopia (blue-blind)
#AD668B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b04cd6;
/* rgb */ color: rgb(176, 76, 214);
/* oklch */ color: oklch(60.4% 0.214 315.4);
Tailwind
colors: {
  custom: {
    50: '#cb85e3',
    500: '#b04cd6',
    950: '#000000',
  },
}
SCSS
$custom: #b04cd6;
$custom-light: #cb85e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cd6",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 283.478,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60406,
    "c": 0.21356,
    "h": 315.4
  },
  "luminance": 0.19254
}

Semantic roles & 50–950 ramp

primary
#B04CD6
secondary
#B2DBA3
accent
#E6426F
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140B15
muted
#827C84

Preview Lab

Preview with #B04CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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