#B04BD2#B04BD2

#B04BD2 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.0% C 0.211 H 316.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B04BD2
RGBrgb(176, 75, 210)
HSLhsl(285, 60%, 56%)
HSVhsv(285, 64%, 82%)
CMYKcmyk(16.2%, 64.3%, 0%, 17.6%)
CIE-LABlab(50.59, 61.00, -51.78)
CIE-LCHlch(50.59, 80.01, 319.67°)
OKLaboklab(60.05% 0.1532 -0.1452)
OKLCHoklch(60.05% 0.211 316.5)
XYZxyz(32.0517, 18.9166, 62.9232)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BD2 #6DD24B
analogous
#6C4BD2 #B04BD2 #D24BB0
triadic
#B04BD2 #D2B04B #4BD2B0
tetradic
#B04BD2 #D26C4B #6DD24B #4BB0D2
square
#B04BD2 #D26C4B #6DD24B #4BB0D2
split-complementary
#B04BD2 #B0D24B #4BD26C
monochromatic
#6A2182 #912DB3 #B04BD2 #C57CDE #DBADEA

Accessibility & contrast

On white

4.39
#B04BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B04BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BD2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BD2#FFFFFF#000000##000000
##B04BD21.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1672D6
Deuteranopia (green-blind)
#4C7BCF
Tritanopia (blue-blind)
#AE6488
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b04bd2;
/* rgb */ color: rgb(176, 75, 210);
/* oklch */ color: oklch(60.0% 0.211 316.5);
Tailwind
colors: {
  custom: {
    50: '#cb84e0',
    500: '#b04bd2',
    950: '#000000',
  },
}
SCSS
$custom: #b04bd2;
$custom-light: #cb84e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bd2",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 284.889,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60045,
    "c": 0.21109,
    "h": 316.5
  },
  "luminance": 0.18915
}

Semantic roles & 50–950 ramp

primary
#B04BD2
secondary
#AFD8A0
accent
#E3456D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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