#B241C7#B241C7

#B241C7 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.6% C 0.215 H 321.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B241C7
RGBrgb(178, 65, 199)
HSLhsl(291, 54%, 52%)
HSVhsv(291, 67%, 78%)
CMYKcmyk(10.6%, 67.3%, 0%, 22%)
CIE-LABlab(48.72, 63.55, -48.42)
CIE-LCHlch(48.72, 79.90, 322.69°)
OKLaboklab(58.56% 0.167 -0.1353)
OKLCHoklch(58.56% 0.215 321)
XYZxyz(30.5580, 17.3707, 55.7650)
Luminance0.1737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B241C7 #56C741
analogous
#6F41C7 #B241C7 #C74199
triadic
#B241C7 #C7B241 #41C7B2
tetradic
#B241C7 #C76F41 #56C741 #4199C7
square
#B241C7 #C76F41 #56C741 #4199C7
split-complementary
#B241C7 #99C741 #41C76F
monochromatic
#61206D #8B2E9D #B241C7 #C570D5 #D8A0E3

Accessibility & contrast

On white

4.69
#B241C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B241C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B241C7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B241C7#FFFFFF#000000##FFFFFF
##B241C71.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136CCB
Deuteranopia (green-blind)
#4F78C4
Tritanopia (blue-blind)
#B3587F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b241c7;
/* rgb */ color: rgb(178, 65, 199);
/* oklch */ color: oklch(58.6% 0.215 321.0);
Tailwind
colors: {
  custom: {
    50: '#cd7ed8',
    500: '#b241c7',
    950: '#000000',
  },
}
SCSS
$custom: #b241c7;
$custom-light: #cd7ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#b241c7",
  "rgb": {
    "r": 178,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 290.597,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58555,
    "c": 0.21488,
    "h": 321
  },
  "luminance": 0.17369
}

Semantic roles & 50–950 ramp

primary
#B241C7
secondary
#9ECF95
accent
#DE4A61
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B15
muted
#837C83

Preview Lab

Preview with #B241C7

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

Preview Lab → · Contrast checker → · Palette generator →

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