#B241C8#B241C8

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

Color values

HEX#B241C8
RGBrgb(178, 65, 200)
HSLhsl(290, 55%, 52%)
HSVhsv(290, 68%, 78%)
CMYKcmyk(11%, 67.5%, 0%, 21.6%)
CIE-LABlab(48.78, 63.73, -48.91)
CIE-LCHlch(48.78, 80.34, 322.50°)
OKLaboklab(58.61% 0.1669 -0.1367)
OKLCHoklch(58.61% 0.216 320.7)
XYZxyz(30.6745, 17.4173, 56.3785)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B241C8 #57C841
analogous
#6F41C8 #B241C8 #C8419B
triadic
#B241C8 #C8B241 #41C8B2
tetradic
#B241C8 #C86F41 #57C841 #419BC8
square
#B241C8 #C86F41 #57C841 #419BC8
split-complementary
#B241C8 #9BC841 #41C86F
monochromatic
#62206F #8C2E9E #B241C8 #C570D6 #D8A0E3

Accessibility & contrast

On white

4.68
#B241C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B241C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B241C8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B241C8#FFFFFF#000000##FFFFFF
##B241C81.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106CCC
Deuteranopia (green-blind)
#4F78C5
Tritanopia (blue-blind)
#B35980
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b241c8;
/* rgb */ color: rgb(178, 65, 200);
/* oklch */ color: oklch(58.6% 0.216 320.7);
Tailwind
colors: {
  custom: {
    50: '#cd7ed9',
    500: '#b241c8',
    950: '#000000',
  },
}
SCSS
$custom: #b241c8;
$custom-light: #cd7ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#b241c8",
  "rgb": {
    "r": 178,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 290.222,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58615,
    "c": 0.21576,
    "h": 320.7
  },
  "luminance": 0.17416
}

Semantic roles & 50–950 ramp

primary
#B241C8
secondary
#9ED095
accent
#DE4962
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B241C8

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

Preview Lab → · Contrast checker → · Palette generator →

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