#B041C2#B041C2

#B041C2 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.0% C 0.210 H 321.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B041C2
RGBrgb(176, 65, 194)
HSLhsl(292, 51%, 51%)
HSVhsv(292, 66%, 76%)
CMYKcmyk(9.3%, 66.5%, 0%, 23.9%)
CIE-LABlab(48.14, 62.17, -46.47)
CIE-LCHlch(48.14, 77.62, 323.22°)
OKLaboklab(57.99% 0.1647 -0.1296)
OKLCHoklch(57.99% 0.21 321.8)
XYZxyz(29.5313, 16.9073, 52.7364)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B041C2 #53C241
analogous
#6F41C2 #B041C2 #C24193
triadic
#B041C2 #C2B041 #41C2B0
tetradic
#B041C2 #C26F41 #53C241 #4193C2
square
#B041C2 #C26F41 #53C241 #4193C2
split-complementary
#B041C2 #93C241 #41C26F
monochromatic
#5E2167 #883096 #B041C2 #C36FD1 #D79EE0

Accessibility & contrast

On white

4.79
#B041C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#B041C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B041C2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B041C2#FFFFFF#000000##FFFFFF
##B041C21.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6AC6
Deuteranopia (green-blind)
#5176BF
Tritanopia (blue-blind)
#B2577C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b041c2;
/* rgb */ color: rgb(176, 65, 194);
/* oklch */ color: oklch(58.0% 0.210 321.8);
Tailwind
colors: {
  custom: {
    50: '#cb7ed5',
    500: '#b041c2',
    950: '#000000',
  },
}
SCSS
$custom: #b041c2;
$custom-light: #cb7ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#b041c2",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 291.628,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57985,
    "c": 0.20962,
    "h": 321.8
  },
  "luminance": 0.16906
}

Semantic roles & 50–950 ramp

primary
#B041C2
secondary
#9BCC93
accent
#DB4D61
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B041C2

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

Preview Lab → · Contrast checker → · Palette generator →

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