#B241DC#B241DC

#B241DC is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.9% C 0.234 H 315.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B241DC
RGBrgb(178, 65, 220)
HSLhsl(284, 69%, 56%)
HSVhsv(284, 70%, 86%)
CMYKcmyk(19.1%, 70.5%, 0%, 13.7%)
CIE-LABlab(49.99, 67.55, -58.42)
CIE-LCHlch(49.99, 89.31, 319.15°)
OKLaboklab(59.87% 0.1657 -0.1645)
OKLCHoklch(59.87% 0.234 315.2)
XYZxyz(33.1666, 18.4141, 69.5035)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B241DC #6BDC41
analogous
#6441DC #B241DC #DC41B8
triadic
#B241DC #DCB241 #41DCB2
tetradic
#B241DC #DC6441 #6BDC41 #41B8DC
square
#B241DC #DC6441 #6BDC41 #41B8DC
split-complementary
#B241DC #B8DC41 #41DC64
monochromatic
#6B1989 #9323BD #B241DC #C775E6 #DCA8EF

Accessibility & contrast

On white

4.48
#B241DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#B241DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B241DC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B241DC#FFFFFF#000000##000000
##B241DC1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#3C7AD9
Tritanopia (blue-blind)
#AF618A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b241dc;
/* rgb */ color: rgb(178, 65, 220);
/* oklch */ color: oklch(59.9% 0.234 315.2);
Tailwind
colors: {
  custom: {
    50: '#cd7fe8',
    500: '#b241dc',
    950: '#000000',
  },
}
SCSS
$custom: #b241dc;
$custom-light: #cd7fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#b241dc",
  "rgb": {
    "r": 178,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 283.742,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59871,
    "c": 0.2335,
    "h": 315.2
  },
  "luminance": 0.18413
}

Semantic roles & 50–950 ramp

primary
#B241DC
secondary
#AEDD9C
accent
#EC3C6C
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B241DC

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

Preview Lab → · Contrast checker → · Palette generator →

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