#B42BBF#B42BBF

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

Color values

HEX#B42BBF
RGBrgb(180, 43, 191)
HSLhsl(296, 63%, 46%)
HSVhsv(296, 77%, 75%)
CMYKcmyk(5.8%, 77.5%, 0%, 25.1%)
CIE-LABlab(45.90, 70.14, -48.27)
CIE-LCHlch(45.90, 85.15, 325.46°)
OKLaboklab(56.45% 0.1902 -0.1346)
OKLCHoklch(56.45% 0.233 324.7)
XYZxyz(29.0895, 15.1945, 50.6808)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42BBF #36BF2B
analogous
#6A2BBF #B42BBF #BF2B80
triadic
#B42BBF #BFB42B #2BBFB4
tetradic
#B42BBF #BF6A2B #36BF2B #2B80BF
square
#B42BBF #BF6A2B #36BF2B #2B80BF
split-complementary
#B42BBF #80BF2B #2BBF6A
monochromatic
#56155B #85208D #B42BBF #CD50D8 #DC82E3

Accessibility & contrast

On white

5.20
#B42BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B42BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42BBF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42BBF#FFFFFF#000000##FFFFFF
##B42BBF1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#4B72BC
Tritanopia (blue-blind)
#B84775
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b42bbf;
/* rgb */ color: rgb(180, 43, 191);
/* oklch */ color: oklch(56.4% 0.233 324.7);
Tailwind
colors: {
  custom: {
    50: '#cf75d3',
    500: '#b42bbf',
    950: '#000000',
  },
}
SCSS
$custom: #b42bbf;
$custom-light: #cf75d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42bbf",
  "rgb": {
    "r": 180,
    "g": 43,
    "b": 191
  },
  "hsl": {
    "h": 295.541,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56448,
    "c": 0.23304,
    "h": 324.7
  },
  "luminance": 0.15193
}

Semantic roles & 50–950 ramp

primary
#B42BBF
secondary
#80CC7A
accent
#E6424E
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140914
muted
#837B83

Preview Lab

Preview with #B42BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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