#B04DCC#B04DCC

#B04DCC is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 59.9% C 0.203 H 318.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B04DCC
RGBrgb(176, 77, 204)
HSLhsl(287, 55%, 55%)
HSVhsv(287, 62%, 80%)
CMYKcmyk(13.7%, 62.3%, 0%, 20%)
CIE-LABlab(50.57, 58.92, -48.38)
CIE-LCHlch(50.57, 76.24, 320.61°)
OKLaboklab(59.92% 0.1509 -0.1353)
OKLCHoklch(59.92% 0.203 318.1)
XYZxyz(31.4560, 18.8988, 59.1059)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DCC #69CC4D
analogous
#714DCC #B04DCC #CC4DA8
triadic
#B04DCC #CCB04D #4DCCB0
tetradic
#B04DCC #CC714D #69CC4D #4DA8CC
square
#B04DCC #CC714D #69CC4D #4DA8CC
split-complementary
#B04DCC #A8CC4D #4DCC71
monochromatic
#68237B #9031AB #B04DCC #C57DDA #DAACE7

Accessibility & contrast

On white

4.39
#B04DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B04DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DCC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DCC#FFFFFF#000000##000000
##B04DCC1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2772D0
Deuteranopia (green-blind)
#537CC9
Tritanopia (blue-blind)
#B06386
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b04dcc;
/* rgb */ color: rgb(176, 77, 204);
/* oklch */ color: oklch(59.9% 0.203 318.1);
Tailwind
colors: {
  custom: {
    50: '#cb85dc',
    500: '#b04dcc',
    950: '#000000',
  },
}
SCSS
$custom: #b04dcc;
$custom-light: #cb85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b04dcc",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 286.772,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59919,
    "c": 0.20268,
    "h": 318.1
  },
  "luminance": 0.18897
}

Semantic roles & 50–950 ramp

primary
#B04DCC
secondary
#ACD5A0
accent
#DF496A
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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