#B04CDD#B04CDD

#B04CDD is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.8% C 0.220 H 313.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B04CDD
RGBrgb(176, 76, 221)
HSLhsl(281, 68%, 58%)
HSVhsv(281, 66%, 87%)
CMYKcmyk(20.4%, 65.6%, 0%, 13.3%)
CIE-LABlab(51.41, 62.78, -56.74)
CIE-LCHlch(51.41, 84.62, 317.89°)
OKLaboklab(60.84% 0.1517 -0.1597)
OKLCHoklch(60.84% 0.22 313.5)
XYZxyz(33.5378, 19.6205, 70.4130)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CDD #79DD4C
analogous
#674CDD #B04CDD #DD4CC2
triadic
#B04CDD #DDB04C #4CDDB0
tetradic
#B04CDD #DD674C #79DD4C #4CC2DD
square
#B04CDD #DD674C #79DD4C #4CC2DD
split-complementary
#B04CDD #C2DD4C #4CDD67
monochromatic
#6E1C93 #9426C6 #B04CDD #C77FE7 #DDB3F1

Accessibility & contrast

On white

4.26
#B04CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#B04CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CDD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CDD#FFFFFF#000000##000000
##B04CDD1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#437DDA
Tritanopia (blue-blind)
#AC698E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b04cdd;
/* rgb */ color: rgb(176, 76, 221);
/* oklch */ color: oklch(60.8% 0.220 313.5);
Tailwind
colors: {
  custom: {
    50: '#cb85e8',
    500: '#b04cdd',
    950: '#000000',
  },
}
SCSS
$custom: #b04cdd;
$custom-light: #cb85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cdd",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 281.379,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60844,
    "c": 0.22025,
    "h": 313.5
  },
  "luminance": 0.19619
}

Semantic roles & 50–950 ramp

primary
#B04CDD
secondary
#B7DFA6
accent
#EB3D73
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #B04CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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