#B04DC7#B04DC7

#B04DC7 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.6% C 0.198 H 319.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B04DC7
RGBrgb(176, 77, 199)
HSLhsl(289, 52%, 54%)
HSVhsv(289, 61%, 78%)
CMYKcmyk(11.6%, 61.3%, 0%, 22%)
CIE-LABlab(50.29, 57.94, -45.95)
CIE-LCHlch(50.29, 73.95, 321.59°)
OKLaboklab(59.63% 0.1509 -0.1282)
OKLCHoklch(59.63% 0.198 319.6)
XYZxyz(30.8659, 18.6628, 55.9982)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DC7 #64C74D
analogous
#734DC7 #B04DC7 #C74DA1
triadic
#B04DC7 #C7B04D #4DC7B0
tetradic
#B04DC7 #C7734D #64C74D #4DA1C7
square
#B04DC7 #C7734D #64C74D #4DA1C7
split-complementary
#B04DC7 #A1C74D #4DC773
monochromatic
#662575 #8E33A3 #B04DC7 #C57CD6 #D9AAE4

Accessibility & contrast

On white

4.44
#B04DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#B04DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DC7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DC7#FFFFFF#000000##000000
##B04DC71.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E71CB
Deuteranopia (green-blind)
#567BC4
Tritanopia (blue-blind)
#B16183
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b04dc7;
/* rgb */ color: rgb(176, 77, 199);
/* oklch */ color: oklch(59.6% 0.198 319.6);
Tailwind
colors: {
  custom: {
    50: '#cb85d8',
    500: '#b04dc7',
    950: '#000000',
  },
}
SCSS
$custom: #b04dc7;
$custom-light: #cb85d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b04dc7",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 288.689,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59628,
    "c": 0.19796,
    "h": 319.6
  },
  "luminance": 0.18661
}

Semantic roles & 50–950 ramp

primary
#B04DC7
secondary
#A8D29E
accent
#DC4C67
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B04DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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