#B04DCF#B04DCF

#B04DCF is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.1% C 0.206 H 317.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B04DCF
RGBrgb(176, 77, 207)
HSLhsl(286, 58%, 56%)
HSVhsv(286, 63%, 81%)
CMYKcmyk(15%, 62.8%, 0%, 18.8%)
CIE-LABlab(50.74, 59.51, -49.82)
CIE-LCHlch(50.74, 77.62, 320.06°)
OKLaboklab(60.1% 0.1509 -0.1395)
OKLCHoklch(60.1% 0.206 317.3)
XYZxyz(31.8192, 19.0441, 61.0192)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DCF #6CCF4D
analogous
#6F4DCF #B04DCF #CF4DAD
triadic
#B04DCF #CFB04D #4DCFB0
tetradic
#B04DCF #CF6F4D #6CCF4D #4DADCF
square
#B04DCF #CF6F4D #6CCF4D #4DADCF
split-complementary
#B04DCF #ADCF4D #4DCF6F
monochromatic
#69227F #912FAF #B04DCF #C57DDC #DBADE9

Accessibility & contrast

On white

4.37
#B04DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#B04DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DCF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DCF#FFFFFF#000000##000000
##B04DCF1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2373D3
Deuteranopia (green-blind)
#507CCC
Tritanopia (blue-blind)
#AF6487
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b04dcf;
/* rgb */ color: rgb(176, 77, 207);
/* oklch */ color: oklch(60.1% 0.206 317.3);
Tailwind
colors: {
  custom: {
    50: '#cb85de',
    500: '#b04dcf',
    950: '#000000',
  },
}
SCSS
$custom: #b04dcf;
$custom-light: #cb85de;
$custom-dark: #000000;
JSON
{
  "hex": "#b04dcf",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 285.692,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60097,
    "c": 0.20553,
    "h": 317.3
  },
  "luminance": 0.19043
}

Semantic roles & 50–950 ramp

primary
#B04DCF
secondary
#AED7A1
accent
#E1476C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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