#B041C3#B041C3

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

Color values

HEX#B041C3
RGBrgb(176, 65, 195)
HSLhsl(291, 52%, 51%)
HSVhsv(291, 67%, 76%)
CMYKcmyk(9.7%, 66.7%, 0%, 23.5%)
CIE-LABlab(48.20, 62.36, -46.96)
CIE-LCHlch(48.20, 78.06, 323.02°)
OKLaboklab(58.05% 0.1647 -0.1311)
OKLCHoklch(58.05% 0.21 321.5)
XYZxyz(29.6440, 16.9524, 53.3299)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B041C3 #54C341
analogous
#6F41C3 #B041C3 #C34195
triadic
#B041C3 #C3B041 #41C3B0
tetradic
#B041C3 #C36F41 #54C341 #4195C3
square
#B041C3 #C36F41 #54C341 #4195C3
split-complementary
#B041C3 #95C341 #41C36F
monochromatic
#5E2169 #883097 #B041C3 #C370D2 #D79EE0

Accessibility & contrast

On white

4.78
#B041C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B041C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B041C3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B041C3#FFFFFF#000000##FFFFFF
##B041C31.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196AC7
Deuteranopia (green-blind)
#5077C0
Tritanopia (blue-blind)
#B2577D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b041c3;
/* rgb */ color: rgb(176, 65, 195);
/* oklch */ color: oklch(58.0% 0.210 321.5);
Tailwind
colors: {
  custom: {
    50: '#cb7ed6',
    500: '#b041c3',
    950: '#000000',
  },
}
SCSS
$custom: #b041c3;
$custom-light: #cb7ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#b041c3",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 195
  },
  "hsl": {
    "h": 291.231,
    "s": 52,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58045,
    "c": 0.21049,
    "h": 321.5
  },
  "luminance": 0.16951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B041C3

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

Preview Lab → · Contrast checker → · Palette generator →

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