#B04BD4#B04BD4

#B04BD4 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.2% C 0.213 H 316.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B04BD4
RGBrgb(176, 75, 212)
HSLhsl(284, 61%, 56%)
HSVhsv(284, 65%, 83%)
CMYKcmyk(17%, 64.6%, 0%, 16.9%)
CIE-LABlab(50.71, 61.40, -52.73)
CIE-LCHlch(50.71, 80.94, 319.34°)
OKLaboklab(60.17% 0.1532 -0.148)
OKLCHoklch(60.17% 0.213 316)
XYZxyz(32.3024, 19.0169, 64.2437)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BD4 #6FD44B
analogous
#6C4BD4 #B04BD4 #D44BB3
triadic
#B04BD4 #D4B04B #4BD4B0
tetradic
#B04BD4 #D46C4B #6FD44B #4BB3D4
square
#B04BD4 #D46C4B #6FD44B #4BB3D4
split-complementary
#B04BD4 #B3D44B #4BD46C
monochromatic
#6A2085 #922CB6 #B04BD4 #C67CE0 #DBAEEC

Accessibility & contrast

On white

4.37
#B04BD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B04BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BD4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BD4#FFFFFF#000000##000000
##B04BD41.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1073D8
Deuteranopia (green-blind)
#4B7CD1
Tritanopia (blue-blind)
#AE6489
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b04bd4;
/* rgb */ color: rgb(176, 75, 212);
/* oklch */ color: oklch(60.2% 0.213 316.0);
Tailwind
colors: {
  custom: {
    50: '#cb84e2',
    500: '#b04bd4',
    950: '#000000',
  },
}
SCSS
$custom: #b04bd4;
$custom-light: #cb84e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bd4",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 212
  },
  "hsl": {
    "h": 284.234,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60168,
    "c": 0.21298,
    "h": 316
  },
  "luminance": 0.19016
}

Semantic roles & 50–950 ramp

primary
#B04BD4
secondary
#B0DAA1
accent
#E5436E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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