#B42BC0#B42BC0

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

Color values

HEX#B42BC0
RGBrgb(180, 43, 192)
HSLhsl(295, 63%, 46%)
HSVhsv(295, 78%, 75%)
CMYKcmyk(6.2%, 77.6%, 0%, 24.7%)
CIE-LABlab(45.96, 70.31, -48.76)
CIE-LCHlch(45.96, 85.57, 325.26°)
OKLaboklab(56.51% 0.1902 -0.136)
OKLCHoklch(56.51% 0.234 324.4)
XYZxyz(29.1999, 15.2387, 51.2623)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42BC0 #37C02B
analogous
#692BC0 #B42BC0 #C02B81
triadic
#B42BC0 #C0B42B #2BC0B4
tetradic
#B42BC0 #C0692B #37C02B #2B81C0
square
#B42BC0 #C0692B #37C02B #2B81C0
split-complementary
#B42BC0 #81C02B #2BC069
monochromatic
#56155C #85208E #B42BC0 #CD50D8 #DB82E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42BC0#FFFFFF#000000##FFFFFF
##B42BC01.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)
#0063C4
Deuteranopia (green-blind)
#4A72BD
Tritanopia (blue-blind)
#B84875
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b42bc0;
/* rgb */ color: rgb(180, 43, 192);
/* oklch */ color: oklch(56.5% 0.234 324.4);
Tailwind
colors: {
  custom: {
    50: '#cf75d4',
    500: '#b42bc0',
    950: '#000000',
  },
}
SCSS
$custom: #b42bc0;
$custom-light: #cf75d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b42bc0",
  "rgb": {
    "r": 180,
    "g": 43,
    "b": 192
  },
  "hsl": {
    "h": 295.168,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5651,
    "c": 0.23381,
    "h": 324.4
  },
  "luminance": 0.15237
}

Semantic roles & 50–950 ramp

primary
#B42BC0
secondary
#81CC7B
accent
#E6414F
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140914
muted
#837B83

Preview Lab

Preview with #B42BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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