#B42CB0#B42CB0

#B42CB0 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.221 H 329.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B42CB0
RGBrgb(180, 44, 176)
HSLhsl(302, 61%, 44%)
HSVhsv(302, 76%, 71%)
CMYKcmyk(0%, 75.6%, 2.2%, 29.4%)
CIE-LABlab(45.14, 67.41, -40.68)
CIE-LCHlch(45.14, 78.73, 328.89°)
OKLaboklab(55.63% 0.19 -0.1125)
OKLCHoklch(55.63% 0.221 329.4)
XYZxyz(27.5593, 14.6414, 42.4404)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42CB0 #2CB430
analogous
#742CB4 #B42CB0 #B42C6C
triadic
#B42CB0 #B0B42C #2CB0B4
tetradic
#B42CB0 #B4742C #2CB430 #2C6CB4
square
#B42CB0 #B4742C #2CB430 #2C6CB4
split-complementary
#B42CB0 #6CB42C #2CB474
monochromatic
#521450 #832080 #B42CB0 #D34ACF #DF7CDC

Accessibility & contrast

On white

5.35
#B42CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B42CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42CB0
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42CB0#FFFFFF#000000##FFFFFF
##B42CB01.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145FB4
Deuteranopia (green-blind)
#5571AD
Tritanopia (blue-blind)
#BA406D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b42cb0;
/* rgb */ color: rgb(180, 44, 176);
/* oklch */ color: oklch(55.6% 0.221 329.4);
Tailwind
colors: {
  custom: {
    50: '#ce74c8',
    500: '#b42cb0',
    950: '#000000',
  },
}
SCSS
$custom: #b42cb0;
$custom-light: #ce74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b42cb0",
  "rgb": {
    "r": 180,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 301.765,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5563,
    "c": 0.22079,
    "h": 329.4
  },
  "luminance": 0.14639
}

Semantic roles & 50–950 ramp

primary
#B42CB0
secondary
#75C777
accent
#E44944
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B42CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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