#B041C4#B041C4

#B041C4 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.1% C 0.211 H 321.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B041C4
RGBrgb(176, 65, 196)
HSLhsl(291, 53%, 51%)
HSVhsv(291, 67%, 77%)
CMYKcmyk(10.2%, 66.8%, 0%, 23.1%)
CIE-LABlab(48.26, 62.54, -47.45)
CIE-LCHlch(48.26, 78.50, 322.81°)
OKLaboklab(58.1% 0.1647 -0.1325)
OKLCHoklch(58.1% 0.211 321.2)
XYZxyz(29.7575, 16.9978, 53.9273)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B041C4 #55C441
analogous
#6E41C4 #B041C4 #C44196
triadic
#B041C4 #C4B041 #41C4B0
tetradic
#B041C4 #C46E41 #55C441 #4196C4
square
#B041C4 #C46E41 #55C441 #4196C4
split-complementary
#B041C4 #96C441 #41C46E
monochromatic
#5F216A #882F98 #B041C4 #C370D3 #D79EE1

Accessibility & contrast

On white

4.77
#B041C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#B041C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B041C4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B041C4#FFFFFF#000000##FFFFFF
##B041C41.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176BC8
Deuteranopia (green-blind)
#4F77C1
Tritanopia (blue-blind)
#B1587D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b041c4;
/* rgb */ color: rgb(176, 65, 196);
/* oklch */ color: oklch(58.1% 0.211 321.2);
Tailwind
colors: {
  custom: {
    50: '#cb7ed6',
    500: '#b041c4',
    950: '#000000',
  },
}
SCSS
$custom: #b041c4;
$custom-light: #cb7ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#b041c4",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 196
  },
  "hsl": {
    "h": 290.84,
    "s": 52.61,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58104,
    "c": 0.21138,
    "h": 321.2
  },
  "luminance": 0.16996
}

Semantic roles & 50–950 ramp

primary
#B041C4
secondary
#9CCD93
accent
#DC4C62
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B041C4

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

Preview Lab → · Contrast checker → · Palette generator →

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