#B442CB#B442CB

#B442CB is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.2% C 0.218 H 320.5°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#B442CB
RGBrgb(180, 66, 203)
HSLhsl(290, 57%, 53%)
HSVhsv(290, 67%, 80%)
CMYKcmyk(11.3%, 67.5%, 0%, 20.4%)
CIE-LABlab(49.39, 64.34, -49.65)
CIE-LCHlch(49.39, 81.27, 322.34°)
OKLaboklab(59.17% 0.1681 -0.1388)
OKLCHoklch(59.17% 0.218 320.5)
XYZxyz(31.5488, 17.9131, 58.2841)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B442CB #59CB42
analogous
#6F42CB #B442CB #CB429D
triadic
#B442CB #CBB442 #42CBB4
tetradic
#B442CB #CB6F42 #59CB42 #429DCB
square
#B442CB #CB6F42 #59CB42 #429DCB
split-complementary
#B442CB #9DCB42 #42CB6F
monochromatic
#652073 #8F2DA3 #B442CB #C772D8 #DAA2E5

Accessibility & contrast

On white

4.58
#B442CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B442CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B442CB
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B442CB#FFFFFF#000000##000000
##B442CB1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E6DCF
Deuteranopia (green-blind)
#4F79C8
Tritanopia (blue-blind)
#B55A81
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b442cb;
/* rgb */ color: rgb(180, 66, 203);
/* oklch */ color: oklch(59.2% 0.218 320.5);
Tailwind
colors: {
  custom: {
    50: '#ce7fdb',
    500: '#b442cb',
    950: '#000000',
  },
}
SCSS
$custom: #b442cb;
$custom-light: #ce7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b442cb",
  "rgb": {
    "r": 180,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 289.927,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59167,
    "c": 0.21801,
    "h": 320.5
  },
  "luminance": 0.17912
}

Semantic roles & 50–950 ramp

primary
#B442CB
secondary
#A1D297
accent
#E04861
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B442CB

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

Preview Lab → · Contrast checker → · Palette generator →

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