#B04DCB#B04DCB

#B04DCB is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 59.9% C 0.202 H 318.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B04DCB
RGBrgb(176, 77, 203)
HSLhsl(287, 55%, 55%)
HSVhsv(287, 62%, 80%)
CMYKcmyk(13.3%, 62.1%, 0%, 20.4%)
CIE-LABlab(50.51, 58.72, -47.89)
CIE-LCHlch(50.51, 75.78, 320.80°)
OKLaboklab(59.86% 0.1509 -0.1339)
OKLCHoklch(59.86% 0.202 318.4)
XYZxyz(31.3364, 18.8510, 58.4763)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DCB #68CB4D
analogous
#714DCB #B04DCB #CB4DA7
triadic
#B04DCB #CBB04D #4DCBB0
tetradic
#B04DCB #CB714D #68CB4D #4DA7CB
square
#B04DCB #CB714D #68CB4D #4DA7CB
split-complementary
#B04DCB #A7CB4D #4DCB71
monochromatic
#67247A #9031A9 #B04DCB #C57CD9 #DAACE7

Accessibility & contrast

On white

4.40
#B04DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B04DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DCB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DCB#FFFFFF#000000##000000
##B04DCB1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2972CF
Deuteranopia (green-blind)
#537CC8
Tritanopia (blue-blind)
#B06285
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b04dcb;
/* rgb */ color: rgb(176, 77, 203);
/* oklch */ color: oklch(59.9% 0.202 318.4);
Tailwind
colors: {
  custom: {
    50: '#cb85db',
    500: '#b04dcb',
    950: '#000000',
  },
}
SCSS
$custom: #b04dcb;
$custom-light: #cb85db;
$custom-dark: #000000;
JSON
{
  "hex": "#b04dcb",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 287.143,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5986,
    "c": 0.20174,
    "h": 318.4
  },
  "luminance": 0.1885
}

Semantic roles & 50–950 ramp

primary
#B04DCB
secondary
#ABD49F
accent
#DE4A69
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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