#B04DCA#B04DCA

#B04DCA is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 59.8% C 0.201 H 318.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B04DCA
RGBrgb(176, 77, 202)
HSLhsl(288, 54%, 55%)
HSVhsv(288, 62%, 79%)
CMYKcmyk(12.9%, 61.9%, 0%, 20.8%)
CIE-LABlab(50.46, 58.53, -47.41)
CIE-LCHlch(50.46, 75.32, 320.99°)
OKLaboklab(59.8% 0.1509 -0.1324)
OKLCHoklch(59.8% 0.201 318.7)
XYZxyz(31.2176, 18.8035, 57.8507)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DCA #67CA4D
analogous
#724DCA #B04DCA #CA4DA6
triadic
#B04DCA #CAB04D #4DCAB0
tetradic
#B04DCA #CA724D #67CA4D #4DA6CA
square
#B04DCA #CA724D #67CA4D #4DA6CA
split-complementary
#B04DCA #A6CA4D #4DCA72
monochromatic
#672479 #8F32A8 #B04DCA #C57CD8 #DAABE6

Accessibility & contrast

On white

4.41
#B04DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B04DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DCA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DCA#FFFFFF#000000##000000
##B04DCA1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A71CE
Deuteranopia (green-blind)
#547BC7
Tritanopia (blue-blind)
#B06285
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b04dca;
/* rgb */ color: rgb(176, 77, 202);
/* oklch */ color: oklch(59.8% 0.201 318.7);
Tailwind
colors: {
  custom: {
    50: '#cb85db',
    500: '#b04dca',
    950: '#000000',
  },
}
SCSS
$custom: #b04dca;
$custom-light: #cb85db;
$custom-dark: #000000;
JSON
{
  "hex": "#b04dca",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 287.52,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59802,
    "c": 0.20079,
    "h": 318.7
  },
  "luminance": 0.18802
}

Semantic roles & 50–950 ramp

primary
#B04DCA
secondary
#AAD49F
accent
#DD4A69
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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