#B04DD5#B04DD5

#B04DD5 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.5% C 0.211 H 315.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B04DD5
RGBrgb(176, 77, 213)
HSLhsl(284, 62%, 57%)
HSVhsv(284, 64%, 84%)
CMYKcmyk(17.4%, 63.8%, 0%, 16.5%)
CIE-LABlab(51.09, 60.71, -52.70)
CIE-LCHlch(51.09, 80.39, 319.04°)
OKLaboklab(60.46% 0.1509 -0.1479)
OKLCHoklch(60.46% 0.211 315.6)
XYZxyz(32.5667, 19.3431, 64.9560)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DD5 #72D54D
analogous
#6C4DD5 #B04DD5 #D54DB6
triadic
#B04DD5 #D5B04D #4DD5B0
tetradic
#B04DD5 #D56C4D #72D54D #4DB6D5
square
#B04DD5 #D56C4D #72D54D #4DB6D5
split-complementary
#B04DD5 #B6D54D #4DD56C
monochromatic
#6B2088 #932CB9 #B04DD5 #C67FE1 #DCB0EC

Accessibility & contrast

On white

4.31
#B04DD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B04DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DD5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DD5#FFFFFF#000000##000000
##B04DD51.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1674D9
Deuteranopia (green-blind)
#4C7CD2
Tritanopia (blue-blind)
#AD668A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b04dd5;
/* rgb */ color: rgb(176, 77, 213);
/* oklch */ color: oklch(60.5% 0.211 315.6);
Tailwind
colors: {
  custom: {
    50: '#cb85e2',
    500: '#b04dd5',
    950: '#000000',
  },
}
SCSS
$custom: #b04dd5;
$custom-light: #cb85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b04dd5",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 283.676,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.6046,
    "c": 0.21126,
    "h": 315.6
  },
  "luminance": 0.19342
}

Semantic roles & 50–950 ramp

primary
#B04DD5
secondary
#B2DBA3
accent
#E5436F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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