#B241CC#B241CC

#B241CC is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.9% C 0.219 H 319.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B241CC
RGBrgb(178, 65, 204)
HSLhsl(289, 58%, 53%)
HSVhsv(289, 68%, 80%)
CMYKcmyk(12.7%, 68.1%, 0%, 20%)
CIE-LABlab(49.02, 64.48, -50.84)
CIE-LCHlch(49.02, 82.11, 321.75°)
OKLaboklab(58.86% 0.1668 -0.1423)
OKLCHoklch(58.86% 0.219 319.5)
XYZxyz(31.1481, 17.6067, 58.8728)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B241CC #5BCC41
analogous
#6C41CC #B241CC #CC41A0
triadic
#B241CC #CCB241 #41CCB2
tetradic
#B241CC #CC6C41 #5BCC41 #41A0CC
square
#B241CC #CC6C41 #5BCC41 #41A0CC
split-complementary
#B241CC #A0CC41 #41CC6C
monochromatic
#641F74 #8D2CA4 #B241CC #C671D9 #D9A1E6

Accessibility & contrast

On white

4.64
#B241CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#B241CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B241CC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B241CC#FFFFFF#000000##FFFFFF
##B241CC1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD0
Deuteranopia (green-blind)
#4C78C9
Tritanopia (blue-blind)
#B25A82
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b241cc;
/* rgb */ color: rgb(178, 65, 204);
/* oklch */ color: oklch(58.9% 0.219 319.5);
Tailwind
colors: {
  custom: {
    50: '#cd7fdc',
    500: '#b241cc',
    950: '#000000',
  },
}
SCSS
$custom: #b241cc;
$custom-light: #cd7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b241cc",
  "rgb": {
    "r": 178,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 288.777,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58858,
    "c": 0.21927,
    "h": 319.5
  },
  "luminance": 0.17605
}

Semantic roles & 50–950 ramp

primary
#B241CC
secondary
#A2D396
accent
#E14764
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B241CC

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

Preview Lab → · Contrast checker → · Palette generator →

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