#B04DD4#B04DD4

#B04DD4 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.4% C 0.210 H 315.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B04DD4
RGBrgb(176, 77, 212)
HSLhsl(284, 61%, 57%)
HSVhsv(284, 64%, 83%)
CMYKcmyk(17%, 63.7%, 0%, 16.9%)
CIE-LABlab(51.03, 60.51, -52.22)
CIE-LCHlch(51.03, 79.93, 319.21°)
OKLaboklab(60.4% 0.1509 -0.1465)
OKLCHoklch(60.4% 0.21 315.8)
XYZxyz(32.4402, 19.2925, 64.2896)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DD4 #71D44D
analogous
#6D4DD4 #B04DD4 #D44DB5
triadic
#B04DD4 #D4B04D #4DD4B0
tetradic
#B04DD4 #D46D4D #71D44D #4DB5D4
square
#B04DD4 #D46D4D #71D44D #4DB5D4
split-complementary
#B04DD4 #B5D44D #4DD46D
monochromatic
#6B2086 #922CB7 #B04DD4 #C67EE0 #DCB0EC

Accessibility & contrast

On white

4.32
#B04DD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B04DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DD4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DD4#FFFFFF#000000##000000
##B04DD41.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1874D8
Deuteranopia (green-blind)
#4D7CD1
Tritanopia (blue-blind)
#AE668A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b04dd4;
/* rgb */ color: rgb(176, 77, 212);
/* oklch */ color: oklch(60.4% 0.210 315.8);
Tailwind
colors: {
  custom: {
    50: '#cb85e2',
    500: '#b04dd4',
    950: '#000000',
  },
}
SCSS
$custom: #b04dd4;
$custom-light: #cb85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b04dd4",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 212
  },
  "hsl": {
    "h": 284,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60399,
    "c": 0.21031,
    "h": 315.8
  },
  "luminance": 0.19291
}

Semantic roles & 50–950 ramp

primary
#B04DD4
secondary
#B2DAA3
accent
#E4446E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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