#B041C8#B041C8

#B041C8 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.3% C 0.215 H 320.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B041C8
RGBrgb(176, 65, 200)
HSLhsl(289, 55%, 52%)
HSVhsv(289, 68%, 78%)
CMYKcmyk(12%, 67.5%, 0%, 21.6%)
CIE-LABlab(48.49, 63.29, -49.39)
CIE-LCHlch(48.49, 80.28, 322.03°)
OKLaboklab(58.35% 0.1646 -0.1382)
OKLCHoklch(58.35% 0.215 320)
XYZxyz(30.2188, 17.1823, 56.3572)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B041C8 #59C841
analogous
#6C41C8 #B041C8 #C8419D
triadic
#B041C8 #C8B041 #41C8B0
tetradic
#B041C8 #C86C41 #59C841 #419DC8
square
#B041C8 #C86C41 #59C841 #419DC8
split-complementary
#B041C8 #9DC841 #41C86C
monochromatic
#61206F #8A2E9E #B041C8 #C470D6 #D7A0E3

Accessibility & contrast

On white

4.73
#B041C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#B041C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B041C8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B041C8#FFFFFF#000000##FFFFFF
##B041C81.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6CCC
Deuteranopia (green-blind)
#4D77C5
Tritanopia (blue-blind)
#B15980
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b041c8;
/* rgb */ color: rgb(176, 65, 200);
/* oklch */ color: oklch(58.3% 0.215 320.0);
Tailwind
colors: {
  custom: {
    50: '#cb7ed9',
    500: '#b041c8',
    950: '#000000',
  },
}
SCSS
$custom: #b041c8;
$custom-light: #cb7ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#b041c8",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 289.333,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58345,
    "c": 0.2149,
    "h": 320
  },
  "luminance": 0.17181
}

Semantic roles & 50–950 ramp

primary
#B041C8
secondary
#9FD095
accent
#DE4964
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B041C8

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

Preview Lab → · Contrast checker → · Palette generator →

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