#B241D3#B241D3

#B241D3 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.3% C 0.225 H 317.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B241D3
RGBrgb(178, 65, 211)
HSLhsl(286, 62%, 54%)
HSVhsv(286, 69%, 83%)
CMYKcmyk(15.6%, 69.2%, 0%, 17.3%)
CIE-LABlab(49.44, 65.81, -54.18)
CIE-LCHlch(49.44, 85.25, 320.53°)
OKLaboklab(59.29% 0.1664 -0.1521)
OKLCHoklch(59.29% 0.225 317.6)
XYZxyz(32.0066, 17.9501, 63.3941)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B241D3 #62D341
analogous
#6941D3 #B241D3 #D341AB
triadic
#B241D3 #D3B241 #41D3B2
tetradic
#B241D3 #D36941 #62D341 #41ABD3
square
#B241D3 #D36941 #62D341 #41ABD3
split-complementary
#B241D3 #ABD341 #41D369
monochromatic
#671D7D #9028AE #B241D3 #C673DF #DAA4EA

Accessibility & contrast

On white

4.58
#B241D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#B241D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B241D3
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B241D3#FFFFFF#000000##000000
##B241D31.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#4679D0
Tritanopia (blue-blind)
#B15D86
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b241d3;
/* rgb */ color: rgb(178, 65, 211);
/* oklch */ color: oklch(59.3% 0.225 317.6);
Tailwind
colors: {
  custom: {
    50: '#cd7fe1',
    500: '#b241d3',
    950: '#000000',
  },
}
SCSS
$custom: #b241d3;
$custom-light: #cd7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#b241d3",
  "rgb": {
    "r": 178,
    "g": 65,
    "b": 211
  },
  "hsl": {
    "h": 286.438,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59293,
    "c": 0.22546,
    "h": 317.6
  },
  "luminance": 0.17949
}

Semantic roles & 50–950 ramp

primary
#B241D3
secondary
#A7D799
accent
#E54267
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B241D3

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

Preview Lab → · Contrast checker → · Palette generator →

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