#B946CA#B946CA

#B946CA is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.2% C 0.214 H 322.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B946CA
RGBrgb(185, 70, 202)
HSLhsl(292, 55%, 53%)
HSVhsv(292, 65%, 79%)
CMYKcmyk(8.4%, 65.3%, 0%, 20.8%)
CIE-LABlab(50.64, 63.67, -47.04)
CIE-LCHlch(50.64, 79.16, 323.54°)
OKLaboklab(60.2% 0.1696 -0.1311)
OKLCHoklch(60.2% 0.214 322.3)
XYZxyz(32.8573, 18.9606, 57.7947)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B946CA #57CA46
analogous
#7746CA #B946CA #CA4699
triadic
#B946CA #CAB946 #46CAB9
tetradic
#B946CA #CA7746 #57CA46 #4699CA
square
#B946CA #CA7746 #57CA46 #4699CA
split-complementary
#B946CA #99CA46 #46CA77
monochromatic
#6A2174 #952FA4 #B946CA #CB76D8 #DDA5E5

Accessibility & contrast

On white

4.38
#B946CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B946CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B946CA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B946CA#FFFFFF#000000##000000
##B946CA1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2470CE
Deuteranopia (green-blind)
#577DC7
Tritanopia (blue-blind)
#BB5C82
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b946ca;
/* rgb */ color: rgb(185, 70, 202);
/* oklch */ color: oklch(60.2% 0.214 322.3);
Tailwind
colors: {
  custom: {
    50: '#d182db',
    500: '#b946ca',
    950: '#000000',
  },
}
SCSS
$custom: #b946ca;
$custom-light: #d182db;
$custom-dark: #000000;
JSON
{
  "hex": "#b946ca",
  "rgb": {
    "r": 185,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 292.273,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60196,
    "c": 0.21431,
    "h": 322.3
  },
  "luminance": 0.18959
}

Semantic roles & 50–950 ramp

primary
#B946CA
secondary
#A1D29A
accent
#DF495C
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B946CA

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

Preview Lab → · Contrast checker → · Palette generator →

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