#B04CC5#B04CC5

#B04CC5 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.4% C 0.198 H 320.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B04CC5
RGBrgb(176, 76, 197)
HSLhsl(290, 51%, 54%)
HSVhsv(290, 61%, 77%)
CMYKcmyk(10.7%, 61.4%, 0%, 22.7%)
CIE-LABlab(50.02, 58.01, -45.23)
CIE-LCHlch(50.02, 73.56, 322.06°)
OKLaboklab(59.39% 0.152 -0.1261)
OKLCHoklch(59.39% 0.198 320.3)
XYZxyz(30.5658, 18.4316, 54.7601)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CC5 #61C54C
analogous
#734CC5 #B04CC5 #C54C9D
triadic
#B04CC5 #C5B04C #4CC5B0
tetradic
#B04CC5 #C5734C #61C54C #4C9DC5
square
#B04CC5 #C5734C #61C54C #4C9DC5
split-complementary
#B04CC5 #9DC54C #4CC573
monochromatic
#642572 #8D34A0 #B04CC5 #C47AD4 #D9A8E3

Accessibility & contrast

On white

4.48
#B04CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#B04CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CC5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CC5#FFFFFF#000000##000000
##B04CC51.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E70C9
Deuteranopia (green-blind)
#577BC2
Tritanopia (blue-blind)
#B15F82
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b04cc5;
/* rgb */ color: rgb(176, 76, 197);
/* oklch */ color: oklch(59.4% 0.198 320.3);
Tailwind
colors: {
  custom: {
    50: '#cb84d7',
    500: '#b04cc5',
    950: '#000000',
  },
}
SCSS
$custom: #b04cc5;
$custom-light: #cb84d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cc5",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 197
  },
  "hsl": {
    "h": 289.587,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59393,
    "c": 0.19751,
    "h": 320.3
  },
  "luminance": 0.1843
}

Semantic roles & 50–950 ramp

primary
#B04CC5
secondary
#A5D09C
accent
#DB4D66
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B04CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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