#B04DD7#B04DD7

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

Color values

HEX#B04DD7
RGBrgb(176, 77, 215)
HSLhsl(283, 63%, 57%)
HSVhsv(283, 64%, 84%)
CMYKcmyk(18.1%, 64.2%, 0%, 15.7%)
CIE-LABlab(51.20, 61.12, -53.65)
CIE-LCHlch(51.20, 81.32, 318.72°)
OKLaboklab(60.58% 0.1508 -0.1507)
OKLCHoklch(60.58% 0.213 315)
XYZxyz(32.8221, 19.4453, 66.3012)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DD7 #74D74D
analogous
#6B4DD7 #B04DD7 #D74DB9
triadic
#B04DD7 #D7B04D #4DD7B0
tetradic
#B04DD7 #D76B4D #74D74D #4DB9D7
square
#B04DD7 #D76B4D #74D74D #4DB9D7
split-complementary
#B04DD7 #B9D74D #4DD76B
monochromatic
#6C1F8A #932ABC #B04DD7 #C67FE2 #DCB1ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B04DD7#FFFFFF#000000##000000
##B04DD71.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)
#1074DB
Deuteranopia (green-blind)
#4A7DD4
Tritanopia (blue-blind)
#AD678B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b04dd7;
/* rgb */ color: rgb(176, 77, 215);
/* oklch */ color: oklch(60.6% 0.213 315.0);
Tailwind
colors: {
  custom: {
    50: '#cb85e4',
    500: '#b04dd7',
    950: '#000000',
  },
}
SCSS
$custom: #b04dd7;
$custom-light: #cb85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b04dd7",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 283.043,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60583,
    "c": 0.21319,
    "h": 315
  },
  "luminance": 0.19444
}

Semantic roles & 50–950 ramp

primary
#B04DD7
secondary
#B4DCA4
accent
#E64170
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #B04DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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