#B04BD3#B04BD3

#B04BD3 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.1% C 0.212 H 316.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B04BD3
RGBrgb(176, 75, 211)
HSLhsl(285, 61%, 56%)
HSVhsv(285, 64%, 83%)
CMYKcmyk(16.6%, 64.5%, 0%, 17.3%)
CIE-LABlab(50.65, 61.20, -52.26)
CIE-LCHlch(50.65, 80.47, 319.51°)
OKLaboklab(60.11% 0.1532 -0.1466)
OKLCHoklch(60.11% 0.212 316.3)
XYZxyz(32.1767, 18.9666, 63.5814)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BD3 #6ED34B
analogous
#6C4BD3 #B04BD3 #D34BB2
triadic
#B04BD3 #D3B04B #4BD3B0
tetradic
#B04BD3 #D36C4B #6ED34B #4BB2D3
square
#B04BD3 #D36C4B #6ED34B #4BB2D3
split-complementary
#B04BD3 #B2D34B #4BD36C
monochromatic
#6A2083 #922CB5 #B04BD3 #C67CDF #DBADEB

Accessibility & contrast

On white

4.38
#B04BD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B04BD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BD3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BD3#FFFFFF#000000##000000
##B04BD31.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1372D7
Deuteranopia (green-blind)
#4C7BD0
Tritanopia (blue-blind)
#AE6489
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b04bd3;
/* rgb */ color: rgb(176, 75, 211);
/* oklch */ color: oklch(60.1% 0.212 316.3);
Tailwind
colors: {
  custom: {
    50: '#cb84e1',
    500: '#b04bd3',
    950: '#000000',
  },
}
SCSS
$custom: #b04bd3;
$custom-light: #cb84e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bd3",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 284.559,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60106,
    "c": 0.21203,
    "h": 316.3
  },
  "luminance": 0.18965
}

Semantic roles & 50–950 ramp

primary
#B04BD3
secondary
#AFD9A1
accent
#E4446D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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