#B42EBD#B42EBD

#B42EBD is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.5% C 0.229 H 325.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B42EBD
RGBrgb(180, 46, 189)
HSLhsl(296, 61%, 46%)
HSVhsv(296, 76%, 74%)
CMYKcmyk(4.8%, 75.7%, 0%, 25.9%)
CIE-LABlab(46.09, 68.93, -46.81)
CIE-LCHlch(46.09, 83.32, 325.82°)
OKLaboklab(56.54% 0.1879 -0.1304)
OKLCHoklch(56.54% 0.229 325.2)
XYZxyz(28.9840, 15.3333, 49.5673)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42EBD #37BD2E
analogous
#6C2EBD #B42EBD #BD2E7E
triadic
#B42EBD #BDB42E #2EBDB4
tetradic
#B42EBD #BD6C2E #37BD2E #2E7EBD
square
#B42EBD #BD6C2E #37BD2E #2E7EBD
split-complementary
#B42EBD #7EBD2E #2EBD6C
monochromatic
#56165B #85228C #B42EBD #CD53D5 #DB84E1

Accessibility & contrast

On white

5.16
#B42EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B42EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42EBD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42EBD#FFFFFF#000000##FFFFFF
##B42EBD1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#4D73BA
Tritanopia (blue-blind)
#B84874
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b42ebd;
/* rgb */ color: rgb(180, 46, 189);
/* oklch */ color: oklch(56.5% 0.229 325.2);
Tailwind
colors: {
  custom: {
    50: '#ce76d1',
    500: '#b42ebd',
    950: '#000000',
  },
}
SCSS
$custom: #b42ebd;
$custom-light: #ce76d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b42ebd",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 296.224,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56544,
    "c": 0.2287,
    "h": 325.2
  },
  "luminance": 0.15331
}

Semantic roles & 50–950 ramp

primary
#B42EBD
secondary
#81CA7C
accent
#E4444E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B42EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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