#B442C7#B442C7

#B442C7 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.9% C 0.215 H 321.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B442C7
RGBrgb(180, 66, 199)
HSLhsl(291, 54%, 52%)
HSVhsv(291, 67%, 78%)
CMYKcmyk(9.5%, 66.8%, 0%, 22%)
CIE-LABlab(49.16, 63.60, -47.71)
CIE-LCHlch(49.16, 79.50, 323.12°)
OKLaboklab(58.93% 0.1682 -0.1331)
OKLCHoklch(58.93% 0.215 321.6)
XYZxyz(31.0783, 17.7249, 55.8060)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B442C7 #55C742
analogous
#7242C7 #B442C7 #C74297
triadic
#B442C7 #C7B442 #42C7B4
tetradic
#B442C7 #C77242 #55C742 #4297C7
square
#B442C7 #C77242 #55C742 #4297C7
split-complementary
#B442C7 #97C742 #42C772
monochromatic
#63216E #8D2F9D #B442C7 #C771D5 #D9A0E3

Accessibility & contrast

On white

4.62
#B442C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#B442C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B442C7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B442C7#FFFFFF#000000##FFFFFF
##B442C71.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196DCB
Deuteranopia (green-blind)
#5279C4
Tritanopia (blue-blind)
#B6597F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b442c7;
/* rgb */ color: rgb(180, 66, 199);
/* oklch */ color: oklch(58.9% 0.215 321.6);
Tailwind
colors: {
  custom: {
    50: '#ce7fd8',
    500: '#b442c7',
    950: '#000000',
  },
}
SCSS
$custom: #b442c7;
$custom-light: #ce7fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#b442c7",
  "rgb": {
    "r": 180,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 291.429,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58928,
    "c": 0.21452,
    "h": 321.6
  },
  "luminance": 0.17723
}

Semantic roles & 50–950 ramp

primary
#B442C7
secondary
#9ED095
accent
#DE4A5F
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B442C7

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

Preview Lab → · Contrast checker → · Palette generator →

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