#B442C8#B442C8

#B442C8 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.0% C 0.215 H 321.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B442C8
RGBrgb(180, 66, 200)
HSLhsl(291, 55%, 52%)
HSVhsv(291, 67%, 78%)
CMYKcmyk(10%, 67%, 0%, 21.6%)
CIE-LABlab(49.22, 63.78, -48.20)
CIE-LCHlch(49.22, 79.94, 322.92°)
OKLaboklab(58.99% 0.1682 -0.1345)
OKLCHoklch(58.99% 0.215 321.3)
XYZxyz(31.1948, 17.7715, 56.4195)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B442C8 #56C842
analogous
#7142C8 #B442C8 #C84299
triadic
#B442C8 #C8B442 #42C8B4
tetradic
#B442C8 #C87142 #56C842 #4299C8
square
#B442C8 #C87142 #56C842 #4299C8
split-complementary
#B442C8 #99C842 #42C871
monochromatic
#63206F #8E2E9F #B442C8 #C771D6 #DAA1E4

Accessibility & contrast

On white

4.61
#B442C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#B442C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B442C8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B442C8#FFFFFF#000000##FFFFFF
##B442C81.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176DCC
Deuteranopia (green-blind)
#5179C5
Tritanopia (blue-blind)
#B65980
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b442c8;
/* rgb */ color: rgb(180, 66, 200);
/* oklch */ color: oklch(59.0% 0.215 321.3);
Tailwind
colors: {
  custom: {
    50: '#ce7fd9',
    500: '#b442c8',
    950: '#000000',
  },
}
SCSS
$custom: #b442c8;
$custom-light: #ce7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#b442c8",
  "rgb": {
    "r": 180,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 291.045,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58987,
    "c": 0.21539,
    "h": 321.3
  },
  "luminance": 0.1777
}

Semantic roles & 50–950 ramp

primary
#B442C8
secondary
#9ED096
accent
#DE4A60
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B15
muted
#837C83

Preview Lab

Preview with #B442C8

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

Preview Lab → · Contrast checker → · Palette generator →

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