#B241D9#B241D9

#B241D9 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.7% C 0.231 H 316.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B241D9
RGBrgb(178, 65, 217)
HSLhsl(285, 67%, 55%)
HSVhsv(285, 70%, 85%)
CMYKcmyk(18%, 70%, 0%, 14.9%)
CIE-LABlab(49.81, 66.97, -57.02)
CIE-LCHlch(49.81, 87.95, 319.59°)
OKLaboklab(59.68% 0.1659 -0.1604)
OKLCHoklch(59.68% 0.231 316)
XYZxyz(32.7728, 18.2566, 67.4297)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B241D9 #68D941
analogous
#6641D9 #B241D9 #D941B4
triadic
#B241D9 #D9B241 #41D9B2
tetradic
#B241D9 #D96641 #68D941 #41B4D9
square
#B241D9 #D96641 #68D941 #41B4D9
split-complementary
#B241D9 #B4D941 #41D966
monochromatic
#6A1B85 #9225B8 #B241D9 #C774E3 #DBA7ED

Accessibility & contrast

On white

4.52
#B241D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B241D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B241D9
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B241D9#FFFFFF#000000##000000
##B241D91.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#407AD6
Tritanopia (blue-blind)
#AF6089
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b241d9;
/* rgb */ color: rgb(178, 65, 217);
/* oklch */ color: oklch(59.7% 0.231 316.0);
Tailwind
colors: {
  custom: {
    50: '#cd7fe5',
    500: '#b241d9',
    950: '#000000',
  },
}
SCSS
$custom: #b241d9;
$custom-light: #cd7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#b241d9",
  "rgb": {
    "r": 178,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 284.605,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59676,
    "c": 0.23081,
    "h": 316
  },
  "luminance": 0.18255
}

Semantic roles & 50–950 ramp

primary
#B241D9
secondary
#ABDB9B
accent
#EA3E6A
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B241D9

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

Preview Lab → · Contrast checker → · Palette generator →

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