#B241BB#B241BB

#B241BB is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.9% C 0.205 H 324.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B241BB
RGBrgb(178, 65, 187)
HSLhsl(296, 48%, 49%)
HSVhsv(296, 65%, 73%)
CMYKcmyk(4.8%, 65.2%, 0%, 26.7%)
CIE-LABlab(48.05, 61.37, -42.53)
CIE-LCHlch(48.05, 74.67, 325.28°)
OKLaboklab(57.85% 0.167 -0.1181)
OKLCHoklch(57.85% 0.205 324.7)
XYZxyz(29.2193, 16.8352, 48.7146)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B241BB #4ABB41
analogous
#7541BB #B241BB #BB4187
triadic
#B241BB #BBB241 #41BBB2
tetradic
#B241BB #BB7541 #4ABB41 #4187BB
square
#B241BB #BB7541 #4ABB41 #4187BB
split-complementary
#B241BB #87BB41 #41BB75
monochromatic
#5C2160 #87318E #B241BB #C56DCC #D79ADC

Accessibility & contrast

On white

4.81
#B241BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B241BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B241BB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B241BB#FFFFFF#000000##FFFFFF
##B241BB1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2869BF
Deuteranopia (green-blind)
#5777B8
Tritanopia (blue-blind)
#B65479
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b241bb;
/* rgb */ color: rgb(178, 65, 187);
/* oklch */ color: oklch(57.9% 0.205 324.7);
Tailwind
colors: {
  custom: {
    50: '#cc7ed0',
    500: '#b241bb',
    950: '#000000',
  },
}
SCSS
$custom: #b241bb;
$custom-light: #cc7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#b241bb",
  "rgb": {
    "r": 178,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 295.574,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57854,
    "c": 0.20452,
    "h": 324.7
  },
  "luminance": 0.16833
}

Semantic roles & 50–950 ramp

primary
#B241BB
secondary
#94C890
accent
#D8505A
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B241BB

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

Preview Lab → · Contrast checker → · Palette generator →

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