#B42FBE#B42FBE

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

Color values

HEX#B42FBE
RGBrgb(180, 47, 190)
HSLhsl(296, 60%, 46%)
HSVhsv(296, 75%, 75%)
CMYKcmyk(5.3%, 75.3%, 0%, 25.5%)
CIE-LABlab(46.25, 68.79, -47.13)
CIE-LCHlch(46.25, 83.38, 325.59°)
OKLaboklab(56.68% 0.187 -0.1313)
OKLCHoklch(56.68% 0.229 324.9)
XYZxyz(29.1325, 15.4559, 50.1541)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42FBE #39BE2F
analogous
#6D2FBE #B42FBE #BE2F81
triadic
#B42FBE #BEB42F #2FBEB4
tetradic
#B42FBE #BE6D2F #39BE2F #2F81BE
square
#B42FBE #BE6D2F #39BE2F #2F81BE
split-complementary
#B42FBE #81BE2F #2FBE6D
monochromatic
#57175C #86238D #B42FBE #CC55D5 #DB86E1

Accessibility & contrast

On white

5.13
#B42FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B42FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42FBE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42FBE#FFFFFF#000000##FFFFFF
##B42FBE1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#4D73BB
Tritanopia (blue-blind)
#B84975
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b42fbe;
/* rgb */ color: rgb(180, 47, 190);
/* oklch */ color: oklch(56.7% 0.229 324.9);
Tailwind
colors: {
  custom: {
    50: '#ce76d2',
    500: '#b42fbe',
    950: '#000000',
  },
}
SCSS
$custom: #b42fbe;
$custom-light: #ce76d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b42fbe",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 295.804,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5668,
    "c": 0.22851,
    "h": 324.9
  },
  "luminance": 0.15454
}

Semantic roles & 50–950 ramp

primary
#B42FBE
secondary
#83CB7E
accent
#E3444F
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B42FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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