#B241C6#B241C6

#B241C6 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.5% C 0.214 H 321.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B241C6
RGBrgb(178, 65, 198)
HSLhsl(291, 54%, 52%)
HSVhsv(291, 67%, 78%)
CMYKcmyk(10.1%, 67.2%, 0%, 22.4%)
CIE-LABlab(48.67, 63.36, -47.94)
CIE-LCHlch(48.67, 79.45, 322.89°)
OKLaboklab(58.5% 0.167 -0.1338)
OKLCHoklch(58.5% 0.214 321.3)
XYZxyz(30.4423, 17.3244, 55.1556)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B241C6 #55C641
analogous
#7041C6 #B241C6 #C64198
triadic
#B241C6 #C6B241 #41C6B2
tetradic
#B241C6 #C67041 #55C641 #4198C6
square
#B241C6 #C67041 #55C641 #4198C6
split-complementary
#B241C6 #98C641 #41C670
monochromatic
#61206C #8B2F9B #B241C6 #C570D4 #D89FE2

Accessibility & contrast

On white

4.70
#B241C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B241C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B241C6
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B241C6#FFFFFF#000000##FFFFFF
##B241C61.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156CCA
Deuteranopia (green-blind)
#5078C3
Tritanopia (blue-blind)
#B4587E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b241c6;
/* rgb */ color: rgb(178, 65, 198);
/* oklch */ color: oklch(58.5% 0.214 321.3);
Tailwind
colors: {
  custom: {
    50: '#cd7ed8',
    500: '#b241c6',
    950: '#000000',
  },
}
SCSS
$custom: #b241c6;
$custom-light: #cd7ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#b241c6",
  "rgb": {
    "r": 178,
    "g": 65,
    "b": 198
  },
  "hsl": {
    "h": 290.977,
    "s": 53.846,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58495,
    "c": 0.21401,
    "h": 321.3
  },
  "luminance": 0.17323
}

Semantic roles & 50–950 ramp

primary
#B241C6
secondary
#9DCF94
accent
#DD4B61
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B241C6

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

Preview Lab → · Contrast checker → · Palette generator →

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