#B946CB#B946CB

#B946CB is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.3% C 0.215 H 322.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B946CB
RGBrgb(185, 70, 203)
HSLhsl(292, 56%, 54%)
HSVhsv(292, 66%, 80%)
CMYKcmyk(8.9%, 65.5%, 0%, 20.4%)
CIE-LABlab(50.70, 63.85, -47.52)
CIE-LCHlch(50.70, 79.59, 323.34°)
OKLaboklab(60.25% 0.1696 -0.1325)
OKLCHoklch(60.25% 0.215 322)
XYZxyz(32.9761, 19.0082, 58.4203)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B946CB #58CB46
analogous
#7646CB #B946CB #CB469A
triadic
#B946CB #CBB946 #46CBB9
tetradic
#B946CB #CB7646 #58CB46 #469ACB
square
#B946CB #CB7646 #58CB46 #469ACB
split-complementary
#B946CB #9ACB46 #46CB76
monochromatic
#6A2176 #952EA5 #B946CB #CB76D8 #DDA6E6

Accessibility & contrast

On white

4.37
#B946CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B946CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B946CB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B946CB#FFFFFF#000000##000000
##B946CB1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2270CF
Deuteranopia (green-blind)
#577DC8
Tritanopia (blue-blind)
#BB5C83
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b946cb;
/* rgb */ color: rgb(185, 70, 203);
/* oklch */ color: oklch(60.3% 0.215 322.0);
Tailwind
colors: {
  custom: {
    50: '#d182db',
    500: '#b946cb',
    950: '#000000',
  },
}
SCSS
$custom: #b946cb;
$custom-light: #d182db;
$custom-dark: #000000;
JSON
{
  "hex": "#b946cb",
  "rgb": {
    "r": 185,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 291.88,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60254,
    "c": 0.21518,
    "h": 322
  },
  "luminance": 0.19006
}

Semantic roles & 50–950 ramp

primary
#B946CB
secondary
#A2D39A
accent
#DF485D
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B946CB

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

Preview Lab → · Contrast checker → · Palette generator →

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