#B041C7#B041C7

#B041C7 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.3% C 0.214 H 320.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B041C7
RGBrgb(176, 65, 199)
HSLhsl(290, 54%, 52%)
HSVhsv(290, 67%, 78%)
CMYKcmyk(11.6%, 67.3%, 0%, 22%)
CIE-LABlab(48.43, 63.10, -48.91)
CIE-LCHlch(48.43, 79.84, 322.22°)
OKLaboklab(58.29% 0.1646 -0.1367)
OKLCHoklch(58.29% 0.214 320.3)
XYZxyz(30.1023, 17.1357, 55.7437)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B041C7 #58C741
analogous
#6D41C7 #B041C7 #C7419B
triadic
#B041C7 #C7B041 #41C7B0
tetradic
#B041C7 #C76D41 #58C741 #419BC7
square
#B041C7 #C76D41 #58C741 #419BC7
split-complementary
#B041C7 #9BC741 #41C76D
monochromatic
#60206D #8A2E9D #B041C7 #C470D5 #D7A0E3

Accessibility & contrast

On white

4.74
#B041C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#B041C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B041C7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B041C7#FFFFFF#000000##FFFFFF
##B041C71.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6BCB
Deuteranopia (green-blind)
#4D77C4
Tritanopia (blue-blind)
#B1597F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b041c7;
/* rgb */ color: rgb(176, 65, 199);
/* oklch */ color: oklch(58.3% 0.214 320.3);
Tailwind
colors: {
  custom: {
    50: '#cb7ed9',
    500: '#b041c7',
    950: '#000000',
  },
}
SCSS
$custom: #b041c7;
$custom-light: #cb7ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#b041c7",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 289.701,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58285,
    "c": 0.21401,
    "h": 320.3
  },
  "luminance": 0.17134
}

Semantic roles & 50–950 ramp

primary
#B041C7
secondary
#9FCF95
accent
#DE4A63
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B15
muted
#827C83

Preview Lab

Preview with #B041C7

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

Preview Lab → · Contrast checker → · Palette generator →

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