#B04CD0#B04CD0

#B04CD0 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.0% C 0.208 H 317.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B04CD0
RGBrgb(176, 76, 208)
HSLhsl(285, 58%, 56%)
HSVhsv(285, 63%, 82%)
CMYKcmyk(15.4%, 63.5%, 0%, 18.4%)
CIE-LABlab(50.63, 60.16, -50.56)
CIE-LCHlch(50.63, 78.59, 319.95°)
OKLaboklab(60.04% 0.1521 -0.1417)
OKLCHoklch(60.04% 0.208 317)
XYZxyz(31.8724, 18.9543, 61.6419)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CD0 #6CD04C
analogous
#6E4CD0 #B04CD0 #D04CAE
triadic
#B04CD0 #D0B04C #4CD0B0
tetradic
#B04CD0 #D06E4C #6CD04C #4CAED0
square
#B04CD0 #D06E4C #6CD04C #4CAED0
split-complementary
#B04CD0 #AED04C #4CD06E
monochromatic
#692280 #912EB0 #B04CD0 #C57CDD #DBADE9

Accessibility & contrast

On white

4.38
#B04CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B04CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CD0
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CD0#FFFFFF#000000##000000
##B04CD01.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E72D4
Deuteranopia (green-blind)
#4F7CCD
Tritanopia (blue-blind)
#AF6487
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b04cd0;
/* rgb */ color: rgb(176, 76, 208);
/* oklch */ color: oklch(60.0% 0.208 317.0);
Tailwind
colors: {
  custom: {
    50: '#cb84df',
    500: '#b04cd0',
    950: '#000000',
  },
}
SCSS
$custom: #b04cd0;
$custom-light: #cb84df;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cd0",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 208
  },
  "hsl": {
    "h": 285.455,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6004,
    "c": 0.20785,
    "h": 317
  },
  "luminance": 0.18953
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B04CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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