#B04BD9#B04BD9

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

Color values

HEX#B04BD9
RGBrgb(176, 75, 217)
HSLhsl(283, 65%, 57%)
HSVhsv(283, 65%, 85%)
CMYKcmyk(18.9%, 65.4%, 0%, 14.9%)
CIE-LABlab(51.01, 62.40, -55.11)
CIE-LCHlch(51.01, 83.25, 318.55°)
OKLaboklab(60.48% 0.153 -0.1549)
OKLCHoklch(60.48% 0.218 314.6)
XYZxyz(32.9429, 19.2731, 67.6169)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BD9 #74D94B
analogous
#694BD9 #B04BD9 #D94BBB
triadic
#B04BD9 #D9B04B #4BD9B0
tetradic
#B04BD9 #D9694B #74D94B #4BBBD9
square
#B04BD9 #D9694B #74D94B #4BBBD9
split-complementary
#B04BD9 #BBD94B #4BD969
monochromatic
#6C1E8C #9328BF #B04BD9 #C67EE4 #DCB0EE

Accessibility & contrast

On white

4.33
#B04BD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B04BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BD9
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BD9#FFFFFF#000000##000000
##B04BD91.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#467CD6
Tritanopia (blue-blind)
#AD668C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b04bd9;
/* rgb */ color: rgb(176, 75, 217);
/* oklch */ color: oklch(60.5% 0.218 314.6);
Tailwind
colors: {
  custom: {
    50: '#cb84e5',
    500: '#b04bd9',
    950: '#000000',
  },
}
SCSS
$custom: #b04bd9;
$custom-light: #cb84e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bd9",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 282.676,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60478,
    "c": 0.21773,
    "h": 314.6
  },
  "luminance": 0.19272
}

Semantic roles & 50–950 ramp

primary
#B04BD9
secondary
#B4DDA3
accent
#E84070
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #B04BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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