#B04BDC#B04BDC

#B04BDC is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.7% C 0.221 H 313.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B04BDC
RGBrgb(176, 75, 220)
HSLhsl(282, 67%, 58%)
HSVhsv(282, 66%, 86%)
CMYKcmyk(20%, 65.9%, 0%, 13.7%)
CIE-LABlab(51.19, 63.01, -56.52)
CIE-LCHlch(51.19, 84.65, 318.11°)
OKLaboklab(60.67% 0.1528 -0.1591)
OKLCHoklch(60.67% 0.221 313.8)
XYZxyz(33.3366, 19.4306, 69.6907)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BDC #77DC4B
analogous
#674BDC #B04BDC #DC4BC0
triadic
#B04BDC #DCB04B #4BDCB0
tetradic
#B04BDC #DC674B #77DC4B #4BC0DC
square
#B04BDC #DC674B #77DC4B #4BC0DC
split-complementary
#B04BDC #C0DC4B #4BDC67
monochromatic
#6D1C91 #9426C4 #B04BDC #C67EE6 #DDB1F0

Accessibility & contrast

On white

4.30
#B04BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#B04BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BDC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BDC#FFFFFF#000000##000000
##B04BDC1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#437CD9
Tritanopia (blue-blind)
#AC688D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b04bdc;
/* rgb */ color: rgb(176, 75, 220);
/* oklch */ color: oklch(60.7% 0.221 313.8);
Tailwind
colors: {
  custom: {
    50: '#cb84e8',
    500: '#b04bdc',
    950: '#000000',
  },
}
SCSS
$custom: #b04bdc;
$custom-light: #cb84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bdc",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 281.793,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60667,
    "c": 0.22058,
    "h": 313.8
  },
  "luminance": 0.1943
}

Semantic roles & 50–950 ramp

primary
#B04BDC
secondary
#B6DEA4
accent
#EA3D72
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #B04BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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