#B04BD6#B04BD6

#B04BD6 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.3% C 0.215 H 315.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B04BD6
RGBrgb(176, 75, 214)
HSLhsl(284, 63%, 57%)
HSVhsv(284, 65%, 84%)
CMYKcmyk(17.8%, 65%, 0%, 16.1%)
CIE-LABlab(50.83, 61.80, -53.69)
CIE-LCHlch(50.83, 81.86, 319.02°)
OKLaboklab(60.29% 0.1531 -0.1508)
OKLCHoklch(60.29% 0.215 315.4)
XYZxyz(32.5562, 19.1184, 65.5806)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BD6 #71D64B
analogous
#6B4BD6 #B04BD6 #D64BB7
triadic
#B04BD6 #D6B04B #4BD6B0
tetradic
#B04BD6 #D66B4B #71D64B #4BB7D6
square
#B04BD6 #D66B4B #71D64B #4BB7D6
split-complementary
#B04BD6 #B7D64B #4BD66B
monochromatic
#6B1F88 #922ABA #B04BD6 #C67DE1 #DCAFED

Accessibility & contrast

On white

4.35
#B04BD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B04BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BD6
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BD6#FFFFFF#000000##000000
##B04BD61.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0873DA
Deuteranopia (green-blind)
#497CD3
Tritanopia (blue-blind)
#AD658A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b04bd6;
/* rgb */ color: rgb(176, 75, 214);
/* oklch */ color: oklch(60.3% 0.215 315.4);
Tailwind
colors: {
  custom: {
    50: '#cb84e3',
    500: '#b04bd6',
    950: '#000000',
  },
}
SCSS
$custom: #b04bd6;
$custom-light: #cb84e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bd6",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 214
  },
  "hsl": {
    "h": 283.597,
    "s": 62.896,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60291,
    "c": 0.21488,
    "h": 315.4
  },
  "luminance": 0.19117
}

Semantic roles & 50–950 ramp

primary
#B04BD6
secondary
#B2DBA2
accent
#E6426F
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140B15
muted
#827C84

Preview Lab

Preview with #B04BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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