#B041D1#B041D1

#B041D1 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.9% C 0.223 H 317.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B041D1
RGBrgb(176, 65, 209)
HSLhsl(286, 61%, 54%)
HSVhsv(286, 69%, 82%)
CMYKcmyk(15.8%, 68.9%, 0%, 18%)
CIE-LABlab(49.03, 65.00, -53.71)
CIE-LCHlch(49.03, 84.32, 320.43°)
OKLaboklab(58.9% 0.1642 -0.1508)
OKLCHoklch(58.9% 0.223 317.4)
XYZxyz(31.3018, 17.6155, 62.0605)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B041D1 #62D141
analogous
#6841D1 #B041D1 #D141AA
triadic
#B041D1 #D1B041 #41D1B0
tetradic
#B041D1 #D16841 #62D141 #41AAD1
square
#B041D1 #D16841 #62D141 #41AAD1
split-complementary
#B041D1 #AAD141 #41D168
monochromatic
#651E7A #8E29AB #B041D1 #C472DD #D9A4E9

Accessibility & contrast

On white

4.64
#B041D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#B041D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B041D1
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B041D1#FFFFFF#000000##FFFFFF
##B041D11.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#4578CE
Tritanopia (blue-blind)
#AF5D84
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b041d1;
/* rgb */ color: rgb(176, 65, 209);
/* oklch */ color: oklch(58.9% 0.223 317.4);
Tailwind
colors: {
  custom: {
    50: '#cb7fe0',
    500: '#b041d1',
    950: '#000000',
  },
}
SCSS
$custom: #b041d1;
$custom-light: #cb7fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#b041d1",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 209
  },
  "hsl": {
    "h": 286.25,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58903,
    "c": 0.2229,
    "h": 317.4
  },
  "luminance": 0.17614
}

Semantic roles & 50–950 ramp

primary
#B041D1
secondary
#A6D698
accent
#E44468
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B041D1

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

Preview Lab → · Contrast checker → · Palette generator →

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