#B241EA#B241EA

#B241EA is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.8% C 0.246 H 311.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B241EA
RGBrgb(178, 65, 234)
HSLhsl(280, 80%, 59%)
HSVhsv(280, 72%, 92%)
CMYKcmyk(23.9%, 72.2%, 0%, 8.2%)
CIE-LABlab(50.91, 70.33, -64.88)
CIE-LCHlch(50.91, 95.69, 317.31°)
OKLaboklab(60.81% 0.164 -0.1835)
OKLCHoklch(60.81% 0.246 311.8)
XYZxyz(35.0989, 19.1870, 79.6805)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B241EA #79EA41
analogous
#5D41EA #B241EA #EA41CE
triadic
#B241EA #EAB241 #41EAB2
tetradic
#B241EA #EA5D41 #79EA41 #41CEEA
square
#B241EA #EA5D41 #79EA41 #41CEEA
split-complementary
#B241EA #CEEA41 #41EA5D
monochromatic
#70129F #9718D6 #B241EA #C878F0 #DFAFF6

Accessibility & contrast

On white

4.34
#B241EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B241EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B241EA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B241EA#FFFFFF#000000##000000
##B241EA1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#287BE6
Tritanopia (blue-blind)
#AB6792
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b241ea;
/* rgb */ color: rgb(178, 65, 234);
/* oklch */ color: oklch(60.8% 0.246 311.8);
Tailwind
colors: {
  custom: {
    50: '#ce80f2',
    500: '#b241ea',
    950: '#000000',
  },
}
SCSS
$custom: #b241ea;
$custom-light: #ce80f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b241ea",
  "rgb": {
    "r": 178,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 280.118,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60807,
    "c": 0.24608,
    "h": 311.8
  },
  "luminance": 0.19186
}

Semantic roles & 50–950 ramp

primary
#B241EA
secondary
#B8E5A2
accent
#F73173
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B241EA

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

Preview Lab → · Contrast checker → · Palette generator →

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