#B041D9#B041D9

#B041D9 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.4% C 0.230 H 315.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B041D9
RGBrgb(176, 65, 217)
HSLhsl(284, 67%, 55%)
HSVhsv(284, 70%, 85%)
CMYKcmyk(18.9%, 70%, 0%, 14.9%)
CIE-LABlab(49.52, 66.56, -57.49)
CIE-LCHlch(49.52, 87.95, 319.18°)
OKLaboklab(59.42% 0.1635 -0.1619)
OKLCHoklch(59.42% 0.23 315.3)
XYZxyz(32.3172, 18.0216, 67.4084)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B041D9 #6AD941
analogous
#6441D9 #B041D9 #D941B6
triadic
#B041D9 #D9B041 #41D9B0
tetradic
#B041D9 #D96441 #6AD941 #41B6D9
square
#B041D9 #D96441 #6AD941 #41B6D9
split-complementary
#B041D9 #B6D941 #41D964
monochromatic
#681B85 #9025B8 #B041D9 #C574E3 #DAA7ED

Accessibility & contrast

On white

4.56
#B041D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#B041D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B041D9
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B041D9#FFFFFF#000000##000000
##B041D91.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#3D79D6
Tritanopia (blue-blind)
#AD6089
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b041d9;
/* rgb */ color: rgb(176, 65, 217);
/* oklch */ color: oklch(59.4% 0.230 315.3);
Tailwind
colors: {
  custom: {
    50: '#cc7fe5',
    500: '#b041d9',
    950: '#000000',
  },
}
SCSS
$custom: #b041d9;
$custom-light: #cc7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#b041d9",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 283.816,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59416,
    "c": 0.23008,
    "h": 315.3
  },
  "luminance": 0.1802
}

Semantic roles & 50–950 ramp

primary
#B041D9
secondary
#ACDB9B
accent
#EA3E6C
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B041D9

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

Preview Lab → · Contrast checker → · Palette generator →

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