#B04DCD#B04DCD

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

Color values

HEX#B04DCD
RGBrgb(176, 77, 205)
HSLhsl(286, 56%, 55%)
HSVhsv(286, 62%, 80%)
CMYKcmyk(14.1%, 62.4%, 0%, 19.6%)
CIE-LABlab(50.63, 59.12, -48.86)
CIE-LCHlch(50.63, 76.69, 320.43°)
OKLaboklab(59.98% 0.1509 -0.1367)
OKLCHoklch(59.98% 0.204 317.8)
XYZxyz(31.5763, 18.9469, 59.7396)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DCD #6ACD4D
analogous
#704DCD #B04DCD #CD4DAA
triadic
#B04DCD #CDB04D #4DCDB0
tetradic
#B04DCD #CD704D #6ACD4D #4DAACD
square
#B04DCD #CD704D #6ACD4D #4DAACD
split-complementary
#B04DCD #AACD4D #4DCD70
monochromatic
#68237D #9030AC #B04DCD #C57DDA #DAADE8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B04DCD#FFFFFF#000000##000000
##B04DCD1.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)
#2672D1
Deuteranopia (green-blind)
#527CCA
Tritanopia (blue-blind)
#AF6386
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b04dcd;
/* rgb */ color: rgb(176, 77, 205);
/* oklch */ color: oklch(60.0% 0.204 317.8);
Tailwind
colors: {
  custom: {
    50: '#cb85dd',
    500: '#b04dcd',
    950: '#000000',
  },
}
SCSS
$custom: #b04dcd;
$custom-light: #cb85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b04dcd",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 286.406,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59978,
    "c": 0.20363,
    "h": 317.8
  },
  "luminance": 0.18946
}

Semantic roles & 50–950 ramp

primary
#B04DCD
secondary
#ACD6A0
accent
#DF486B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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