#B42CC7#B42CC7

#B42CC7 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 57.0% C 0.238 H 322.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B42CC7
RGBrgb(180, 44, 199)
HSLhsl(293, 64%, 48%)
HSVhsv(293, 78%, 78%)
CMYKcmyk(9.5%, 77.9%, 0%, 22%)
CIE-LABlab(46.49, 71.22, -51.99)
CIE-LCHlch(46.49, 88.17, 323.87°)
OKLaboklab(57.02% 0.1888 -0.1455)
OKLCHoklch(57.02% 0.238 322.4)
XYZxyz(30.0308, 15.6300, 55.4569)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42CC7 #3FC72C
analogous
#662CC7 #B42CC7 #C72C8D
triadic
#B42CC7 #C7B42C #2CC7B4
tetradic
#B42CC7 #C7662C #3FC72C #2C8DC7
square
#B42CC7 #C7662C #3FC72C #2C8DC7
split-complementary
#B42CC7 #8DC72C #2CC766
monochromatic
#591663 #872195 #B42CC7 #CA56DA #DA89E5

Accessibility & contrast

On white

5.09
#B42CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B42CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42CC7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42CC7#FFFFFF#000000##FFFFFF
##B42CC71.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#4573C4
Tritanopia (blue-blind)
#B64C7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b42cc7;
/* rgb */ color: rgb(180, 44, 199);
/* oklch */ color: oklch(57.0% 0.238 322.4);
Tailwind
colors: {
  custom: {
    50: '#cf75d9',
    500: '#b42cc7',
    950: '#000000',
  },
}
SCSS
$custom: #b42cc7;
$custom-light: #cf75d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b42cc7",
  "rgb": {
    "r": 180,
    "g": 44,
    "b": 199
  },
  "hsl": {
    "h": 292.645,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57019,
    "c": 0.23833,
    "h": 322.4
  },
  "luminance": 0.15628
}

Semantic roles & 50–950 ramp

primary
#B42CC7
secondary
#8ACF80
accent
#E74155
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A15
muted
#837C83

Preview Lab

Preview with #B42CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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