#B241AC#B241AC

#B241AC is a mid, vivid purple. Relative luminance 0.162; OKLCH L 57.0% C 0.192 H 329.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B241AC
RGBrgb(178, 65, 172)
HSLhsl(303, 47%, 48%)
HSVhsv(303, 63%, 70%)
CMYKcmyk(0%, 63.5%, 3.4%, 30.2%)
CIE-LABlab(47.27, 58.77, -34.98)
CIE-LCHlch(47.27, 68.39, 329.24°)
OKLaboklab(57.03% 0.1662 -0.0962)
OKLCHoklch(57.03% 0.192 329.9)
XYZxyz(27.6966, 16.2261, 40.6949)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B241AC #41B247
analogous
#8041B2 #B241AC #B24173
triadic
#B241AC #ACB241 #41ACB2
tetradic
#B241AC #B28041 #41B247 #4173B2
square
#B241AC #B28041 #41B247 #4173B2
split-complementary
#B241AC #73B241 #41B280
monochromatic
#582055 #853181 #B241AC #C868C3 #D895D5

Accessibility & contrast

On white

4.95
#B241AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B241AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B241AC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B241AC#FFFFFF#000000##FFFFFF
##B241AC1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3866AF
Deuteranopia (green-blind)
#5F76A9
Tritanopia (blue-blind)
#B84D71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b241ac;
/* rgb */ color: rgb(178, 65, 172);
/* oklch */ color: oklch(57.0% 0.192 329.9);
Tailwind
colors: {
  custom: {
    50: '#cc7ec5',
    500: '#b241ac',
    950: '#000000',
  },
}
SCSS
$custom: #b241ac;
$custom-light: #cc7ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#b241ac",
  "rgb": {
    "r": 178,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 303.186,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57034,
    "c": 0.19201,
    "h": 329.9
  },
  "luminance": 0.16224
}

Semantic roles & 50–950 ramp

primary
#B241AC
secondary
#8BC48E
accent
#D65952
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B241AC

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

Preview Lab → · Contrast checker → · Palette generator →

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