#B04DD9#B04DD9

#B04DD9 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.7% C 0.215 H 314.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B04DD9
RGBrgb(176, 77, 217)
HSLhsl(282, 65%, 58%)
HSVhsv(282, 65%, 85%)
CMYKcmyk(18.9%, 64.5%, 0%, 14.9%)
CIE-LABlab(51.32, 61.52, -54.60)
CIE-LCHlch(51.32, 82.25, 318.41°)
OKLaboklab(60.71% 0.1507 -0.1535)
OKLCHoklch(60.71% 0.215 314.5)
XYZxyz(33.0807, 19.5487, 67.6629)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DD9 #76D94D
analogous
#6A4DD9 #B04DD9 #D94DBC
triadic
#B04DD9 #D9B04D #4DD9B0
tetradic
#B04DD9 #D96A4D #76D94D #4DBCD9
square
#B04DD9 #D96A4D #76D94D #4DBCD9
split-complementary
#B04DD9 #BCD94D #4DD96A
monochromatic
#6D1E8D #9429C0 #B04DD9 #C67FE4 #DDB2EF

Accessibility & contrast

On white

4.28
#B04DD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B04DD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DD9
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DD9#FFFFFF#000000##000000
##B04DD91.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0775DD
Deuteranopia (green-blind)
#487DD6
Tritanopia (blue-blind)
#AD688C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b04dd9;
/* rgb */ color: rgb(176, 77, 217);
/* oklch */ color: oklch(60.7% 0.215 314.5);
Tailwind
colors: {
  custom: {
    50: '#cb85e5',
    500: '#b04dd9',
    950: '#000000',
  },
}
SCSS
$custom: #b04dd9;
$custom-light: #cb85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b04dd9",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 282.429,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60707,
    "c": 0.2151,
    "h": 314.5
  },
  "luminance": 0.19548
}

Semantic roles & 50–950 ramp

primary
#B04DD9
secondary
#B5DDA5
accent
#E84071
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #B04DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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