#B04BD8#B04BD8

#B04BD8 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.4% C 0.217 H 314.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B04BD8
RGBrgb(176, 75, 216)
HSLhsl(283, 64%, 57%)
HSVhsv(283, 65%, 85%)
CMYKcmyk(18.5%, 65.3%, 0%, 15.3%)
CIE-LABlab(50.95, 62.20, -54.63)
CIE-LCHlch(50.95, 82.79, 318.71°)
OKLaboklab(60.42% 0.153 -0.1536)
OKLCHoklch(60.42% 0.217 314.9)
XYZxyz(32.8132, 19.2212, 66.9340)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BD8 #73D84B
analogous
#6A4BD8 #B04BD8 #D84BB9
triadic
#B04BD8 #D8B04B #4BD8B0
tetradic
#B04BD8 #D86A4B #73D84B #4BB9D8
square
#B04BD8 #D86A4B #73D84B #4BB9D8
split-complementary
#B04BD8 #B9D84B #4BD86A
monochromatic
#6C1E8B #9329BD #B04BD8 #C67DE3 #DCB0EE

Accessibility & contrast

On white

4.34
#B04BD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B04BD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BD8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BD8#FFFFFF#000000##000000
##B04BD81.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DC
Deuteranopia (green-blind)
#477CD5
Tritanopia (blue-blind)
#AD668B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b04bd8;
/* rgb */ color: rgb(176, 75, 216);
/* oklch */ color: oklch(60.4% 0.217 314.9);
Tailwind
colors: {
  custom: {
    50: '#cb84e5',
    500: '#b04bd8',
    950: '#000000',
  },
}
SCSS
$custom: #b04bd8;
$custom-light: #cb84e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bd8",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 282.979,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60415,
    "c": 0.21678,
    "h": 314.9
  },
  "luminance": 0.1922
}

Semantic roles & 50–950 ramp

primary
#B04BD8
secondary
#B3DCA3
accent
#E74070
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #B04BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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