#B42EBF#B42EBF

#B42EBF is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.7% C 0.230 H 324.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B42EBF
RGBrgb(180, 46, 191)
HSLhsl(295, 61%, 46%)
HSVhsv(295, 76%, 75%)
CMYKcmyk(5.8%, 75.9%, 0%, 25.1%)
CIE-LABlab(46.21, 69.26, -47.79)
CIE-LCHlch(46.21, 84.15, 325.40°)
OKLaboklab(56.67% 0.1878 -0.1332)
OKLCHoklch(56.67% 0.23 324.6)
XYZxyz(29.2026, 15.4208, 50.7185)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42EBF #39BF2E
analogous
#6C2EBF #B42EBF #BF2E82
triadic
#B42EBF #BFB42E #2EBFB4
tetradic
#B42EBF #BF6C2E #39BF2E #2E82BF
square
#B42EBF #BF6C2E #39BF2E #2E82BF
split-complementary
#B42EBF #82BF2E #2EBF6C
monochromatic
#57165C #86228E #B42EBF #CC54D6 #DB86E2

Accessibility & contrast

On white

5.14
#B42EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B42EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42EBF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42EBF#FFFFFF#000000##FFFFFF
##B42EBF1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#4C73BC
Tritanopia (blue-blind)
#B84975
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b42ebf;
/* rgb */ color: rgb(180, 46, 191);
/* oklch */ color: oklch(56.7% 0.230 324.6);
Tailwind
colors: {
  custom: {
    50: '#cf76d3',
    500: '#b42ebf',
    950: '#000000',
  },
}
SCSS
$custom: #b42ebf;
$custom-light: #cf76d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42ebf",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 295.448,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56665,
    "c": 0.23025,
    "h": 324.6
  },
  "luminance": 0.15419
}

Semantic roles & 50–950 ramp

primary
#B42EBF
secondary
#83CB7E
accent
#E44450
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B42EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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