#B42CBF#B42CBF

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

Color values

HEX#B42CBF
RGBrgb(180, 44, 191)
HSLhsl(296, 63%, 46%)
HSVhsv(296, 77%, 75%)
CMYKcmyk(5.8%, 77%, 0%, 25.1%)
CIE-LABlab(46.00, 69.86, -48.11)
CIE-LCHlch(46.00, 84.82, 325.44°)
OKLaboklab(56.52% 0.1894 -0.1342)
OKLCHoklch(56.52% 0.232 324.7)
XYZxyz(29.1263, 15.2682, 50.6931)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42CBF #37BF2C
analogous
#6A2CBF #B42CBF #BF2C80
triadic
#B42CBF #BFB42C #2CBFB4
tetradic
#B42CBF #BF6A2C #37BF2C #2C80BF
square
#B42CBF #BF6A2C #37BF2C #2C80BF
split-complementary
#B42CBF #80BF2C #2CBF6A
monochromatic
#56155C #85218D #B42CBF #CD51D7 #DB83E2

Accessibility & contrast

On white

5.18
#B42CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42CBF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42CBF#FFFFFF#000000##FFFFFF
##B42CBF1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42cbf;
/* rgb */ color: rgb(180, 44, 191);
/* oklch */ color: oklch(56.5% 0.232 324.7);
Tailwind
colors: {
  custom: {
    50: '#cf75d3',
    500: '#b42cbf',
    950: '#000000',
  },
}
SCSS
$custom: #b42cbf;
$custom-light: #cf75d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42cbf",
  "rgb": {
    "r": 180,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 295.51,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56519,
    "c": 0.23213,
    "h": 324.7
  },
  "luminance": 0.15266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B42CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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