#B442B2#B442B2

#B442B2 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.7% C 0.197 H 328.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B442B2
RGBrgb(180, 66, 178)
HSLhsl(301, 46%, 48%)
HSVhsv(301, 63%, 71%)
CMYKcmyk(0%, 63.3%, 1.1%, 29.4%)
CIE-LABlab(48.03, 59.88, -37.29)
CIE-LCHlch(48.03, 70.54, 328.08°)
OKLaboklab(57.74% 0.1677 -0.1029)
OKLCHoklch(57.74% 0.197 328.5)
XYZxyz(28.8061, 16.8160, 43.8394)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B442B2 #42B444
analogous
#7D42B4 #B442B2 #B44279
triadic
#B442B2 #B2B442 #42B2B4
tetradic
#B442B2 #B47D42 #42B444 #4279B4
square
#B442B2 #B47D42 #42B444 #4279B4
split-complementary
#B442B2 #79B442 #42B47D
monochromatic
#5A2159 #873286 #B442B2 #C96BC7 #D997D8

Accessibility & contrast

On white

4.81
#B442B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B442B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B442B2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B442B2#FFFFFF#000000##FFFFFF
##B442B21.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3568B5
Deuteranopia (green-blind)
#5E77AF
Tritanopia (blue-blind)
#BA5074
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b442b2;
/* rgb */ color: rgb(180, 66, 178);
/* oklch */ color: oklch(57.7% 0.197 328.5);
Tailwind
colors: {
  custom: {
    50: '#ce7ec9',
    500: '#b442b2',
    950: '#000000',
  },
}
SCSS
$custom: #b442b2;
$custom-light: #ce7ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#b442b2",
  "rgb": {
    "r": 180,
    "g": 66,
    "b": 178
  },
  "hsl": {
    "h": 301.053,
    "s": 46.341,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57743,
    "c": 0.19669,
    "h": 328.5
  },
  "luminance": 0.16814
}

Semantic roles & 50–950 ramp

primary
#B442B2
secondary
#8DC58E
accent
#D65452
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B442B2

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

Preview Lab → · Contrast checker → · Palette generator →

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