#B04CD9#B04CD9

#B04CD9 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.6% C 0.216 H 314.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B04CD9
RGBrgb(176, 76, 217)
HSLhsl(283, 65%, 57%)
HSVhsv(283, 65%, 85%)
CMYKcmyk(18.9%, 65%, 0%, 14.9%)
CIE-LABlab(51.16, 61.97, -54.85)
CIE-LCHlch(51.16, 82.76, 318.48°)
OKLaboklab(60.59% 0.1519 -0.1542)
OKLCHoklch(60.59% 0.216 314.6)
XYZxyz(33.0113, 19.4098, 67.6397)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CD9 #75D94C
analogous
#694CD9 #B04CD9 #D94CBC
triadic
#B04CD9 #D9B04C #4CD9B0
tetradic
#B04CD9 #D9694C #75D94C #4CBCD9
square
#B04CD9 #D9694C #75D94C #4CBCD9
split-complementary
#B04CD9 #BCD94C #4CD969
monochromatic
#6C1E8D #9329BF #B04CD9 #C67EE4 #DDB1EE

Accessibility & contrast

On white

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

On black

4.88
#B04CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CD9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CD9#FFFFFF#000000##000000
##B04CD91.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#477CD6
Tritanopia (blue-blind)
#AD678C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b04cd9;
/* rgb */ color: rgb(176, 76, 217);
/* oklch */ color: oklch(60.6% 0.216 314.6);
Tailwind
colors: {
  custom: {
    50: '#cb85e5',
    500: '#b04cd9',
    950: '#000000',
  },
}
SCSS
$custom: #b04cd9;
$custom-light: #cb85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cd9",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 282.553,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60592,
    "c": 0.21642,
    "h": 314.6
  },
  "luminance": 0.19409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B04CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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