#B241BA#B241BA

#B241BA is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.8% C 0.204 H 325.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B241BA
RGBrgb(178, 65, 186)
HSLhsl(296, 48%, 49%)
HSVhsv(296, 65%, 73%)
CMYKcmyk(4.3%, 65.1%, 0%, 27.1%)
CIE-LABlab(48.00, 61.19, -42.04)
CIE-LCHlch(48.00, 74.24, 325.51°)
OKLaboklab(57.8% 0.1669 -0.1167)
OKLCHoklch(57.8% 0.204 325.1)
XYZxyz(29.1126, 16.7925, 48.1527)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B241BA #49BA41
analogous
#7641BA #B241BA #BA4186
triadic
#B241BA #BAB241 #41BAB2
tetradic
#B241BA #BA7641 #49BA41 #4186BA
square
#B241BA #BA7641 #49BA41 #4186BA
split-complementary
#B241BA #86BA41 #41BA76
monochromatic
#5B215F #87318D #B241BA #C56CCC #D79ADC

Accessibility & contrast

On white

4.82
#B241BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B241BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B241BA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B241BA#FFFFFF#000000##FFFFFF
##B241BA1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A69BE
Deuteranopia (green-blind)
#5877B7
Tritanopia (blue-blind)
#B65378
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b241ba;
/* rgb */ color: rgb(178, 65, 186);
/* oklch */ color: oklch(57.8% 0.204 325.1);
Tailwind
colors: {
  custom: {
    50: '#cc7ecf',
    500: '#b241ba',
    950: '#000000',
  },
}
SCSS
$custom: #b241ba;
$custom-light: #cc7ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#b241ba",
  "rgb": {
    "r": 178,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 296.033,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57797,
    "c": 0.20366,
    "h": 325.1
  },
  "luminance": 0.16791
}

Semantic roles & 50–950 ramp

primary
#B241BA
secondary
#93C88F
accent
#D85059
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B241BA

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

Preview Lab → · Contrast checker → · Palette generator →

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