#B42FBF#B42FBF

#B42FBF is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.7% C 0.229 H 324.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B42FBF
RGBrgb(180, 47, 191)
HSLhsl(295, 61%, 47%)
HSVhsv(295, 75%, 75%)
CMYKcmyk(5.8%, 75.4%, 0%, 25.1%)
CIE-LABlab(46.31, 68.96, -47.62)
CIE-LCHlch(46.31, 83.80, 325.37°)
OKLaboklab(56.74% 0.187 -0.1327)
OKLCHoklch(56.74% 0.229 324.6)
XYZxyz(29.2421, 15.4998, 50.7317)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42FBF #3ABF2F
analogous
#6C2FBF #B42FBF #BF2F82
triadic
#B42FBF #BFB42F #2FBFB4
tetradic
#B42FBF #BF6C2F #3ABF2F #2F82BF
square
#B42FBF #BF6C2F #3ABF2F #2F82BF
split-complementary
#B42FBF #82BF2F #2FBF6C
monochromatic
#57175D #86238E #B42FBF #CC56D5 #DB87E1

Accessibility & contrast

On white

5.12
#B42FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B42FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42FBF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42FBF#FFFFFF#000000##FFFFFF
##B42FBF1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#4D73BC
Tritanopia (blue-blind)
#B84A76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b42fbf;
/* rgb */ color: rgb(180, 47, 191);
/* oklch */ color: oklch(56.7% 0.229 324.6);
Tailwind
colors: {
  custom: {
    50: '#ce76d3',
    500: '#b42fbf',
    950: '#000000',
  },
}
SCSS
$custom: #b42fbf;
$custom-light: #ce76d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42fbf",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 295.417,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56741,
    "c": 0.22928,
    "h": 324.6
  },
  "luminance": 0.15498
}

Semantic roles & 50–950 ramp

primary
#B42FBF
secondary
#85CB7F
accent
#E44450
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B42FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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