#B42EBB#B42EBB

#B42EBB is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.4% C 0.227 H 325.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B42EBB
RGBrgb(180, 46, 187)
HSLhsl(297, 61%, 46%)
HSVhsv(297, 75%, 73%)
CMYKcmyk(3.7%, 75.4%, 0%, 26.7%)
CIE-LABlab(45.97, 68.59, -45.82)
CIE-LCHlch(45.97, 82.49, 326.25°)
OKLaboklab(56.42% 0.188 -0.1275)
OKLCHoklch(56.42% 0.227 325.9)
XYZxyz(28.7684, 15.2471, 48.4318)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42EBB #35BB2E
analogous
#6D2EBB #B42EBB #BB2E7B
triadic
#B42EBB #BBB42E #2EBBB4
tetradic
#B42EBB #BB6D2E #35BB2E #2E7BBB
square
#B42EBB #BB6D2E #35BB2E #2E7BBB
split-complementary
#B42EBB #7BBB2E #2EBB6D
monochromatic
#551659 #85228A #B42EBB #CE52D4 #DC83E0

Accessibility & contrast

On white

5.19
#B42EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B42EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42EBB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42EBB#FFFFFF#000000##FFFFFF
##B42EBB1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#4F72B8
Tritanopia (blue-blind)
#B84773
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b42ebb;
/* rgb */ color: rgb(180, 46, 187);
/* oklch */ color: oklch(56.4% 0.227 325.9);
Tailwind
colors: {
  custom: {
    50: '#ce76d0',
    500: '#b42ebb',
    950: '#000000',
  },
}
SCSS
$custom: #b42ebb;
$custom-light: #ce76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b42ebb",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 297.021,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56423,
    "c": 0.22716,
    "h": 325.9
  },
  "luminance": 0.15245
}

Semantic roles & 50–950 ramp

primary
#B42EBB
secondary
#7FCA7B
accent
#E4444C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B42EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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