#B04DC2#B04DC2

#B04DC2 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.3% C 0.193 H 321.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B04DC2
RGBrgb(176, 77, 194)
HSLhsl(291, 49%, 53%)
HSVhsv(291, 60%, 76%)
CMYKcmyk(9.3%, 60.3%, 0%, 23.9%)
CIE-LABlab(50.02, 56.98, -43.49)
CIE-LCHlch(50.02, 71.68, 322.65°)
OKLaboklab(59.34% 0.1507 -0.121)
OKLCHoklch(59.34% 0.193 321.2)
XYZxyz(30.2949, 18.4344, 52.9909)
Luminance0.1843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DC2 #5FC24D
analogous
#754DC2 #B04DC2 #C24D99
triadic
#B04DC2 #C2B04D #4DC2B0
tetradic
#B04DC2 #C2754D #5FC24D #4D99C2
square
#B04DC2 #C2754D #5FC24D #4D99C2
split-complementary
#B04DC2 #99C24D #4DC275
monochromatic
#63266F #8C369C #B04DC2 #C47BD2 #D8A8E1

Accessibility & contrast

On white

4.48
#B04DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#B04DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DC2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DC2#FFFFFF#000000##000000
##B04DC21.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3370C6
Deuteranopia (green-blind)
#597BBF
Tritanopia (blue-blind)
#B25F80
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b04dc2;
/* rgb */ color: rgb(176, 77, 194);
/* oklch */ color: oklch(59.3% 0.193 321.2);
Tailwind
colors: {
  custom: {
    50: '#ca85d5',
    500: '#b04dc2',
    950: '#000000',
  },
}
SCSS
$custom: #b04dc2;
$custom-light: #ca85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b04dc2",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 290.769,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59342,
    "c": 0.19328,
    "h": 321.2
  },
  "luminance": 0.18433
}

Semantic roles & 50–950 ramp

primary
#B04DC2
secondary
#A4CF9C
accent
#D94F64
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B04DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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