#B241D1#B241D1

#B241D1 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.2% C 0.224 H 318.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B241D1
RGBrgb(178, 65, 209)
HSLhsl(287, 61%, 54%)
HSVhsv(287, 69%, 82%)
CMYKcmyk(14.8%, 68.9%, 0%, 18%)
CIE-LABlab(49.31, 65.43, -53.23)
CIE-LCHlch(49.31, 84.35, 320.87°)
OKLaboklab(59.17% 0.1665 -0.1493)
OKLCHoklch(59.17% 0.224 318.1)
XYZxyz(31.7574, 17.8504, 62.0819)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B241D1 #60D141
analogous
#6A41D1 #B241D1 #D141A8
triadic
#B241D1 #D1B241 #41D1B2
tetradic
#B241D1 #D16A41 #60D141 #41A8D1
square
#B241D1 #D16A41 #60D141 #41A8D1
split-complementary
#B241D1 #A8D141 #41D16A
monochromatic
#661E7A #8F29AB #B241D1 #C672DD #DAA4E9

Accessibility & contrast

On white

4.60
#B241D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B241D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B241D1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B241D1#FFFFFF#000000##FFFFFF
##B241D11.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#4779CE
Tritanopia (blue-blind)
#B15D84
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b241d1;
/* rgb */ color: rgb(178, 65, 209);
/* oklch */ color: oklch(59.2% 0.224 318.1);
Tailwind
colors: {
  custom: {
    50: '#cd7fe0',
    500: '#b241d1',
    950: '#000000',
  },
}
SCSS
$custom: #b241d1;
$custom-light: #cd7fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#b241d1",
  "rgb": {
    "r": 178,
    "g": 65,
    "b": 209
  },
  "hsl": {
    "h": 287.083,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59167,
    "c": 0.22369,
    "h": 318.1
  },
  "luminance": 0.17849
}

Semantic roles & 50–950 ramp

primary
#B241D1
secondary
#A5D698
accent
#E44466
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B241D1

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

Preview Lab → · Contrast checker → · Palette generator →

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