#B946DD#B946DD

#B946DD is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.3% C 0.231 H 317.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B946DD
RGBrgb(185, 70, 221)
HSLhsl(286, 69%, 57%)
HSVhsv(286, 68%, 87%)
CMYKcmyk(16.3%, 68.3%, 0%, 13.3%)
CIE-LABlab(51.74, 67.23, -56.13)
CIE-LCHlch(51.74, 87.58, 320.14°)
OKLaboklab(61.34% 0.169 -0.1576)
OKLCHoklch(61.34% 0.231 317)
XYZxyz(35.2470, 19.9165, 70.3802)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B946DD #6ADD46
analogous
#6D46DD #B946DD #DD46B6
triadic
#B946DD #DDB946 #46DDB9
tetradic
#B946DD #DD6D46 #6ADD46 #46B6DD
square
#B946DD #DD6D46 #6ADD46 #46B6DD
split-complementary
#B946DD #B6DD46 #46DD6D
monochromatic
#731A8E #9C24C2 #B946DD #CD7AE7 #E0ADF0

Accessibility & contrast

On white

4.21
#B946DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B946DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B946DD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B946DD#FFFFFF#000000##000000
##B946DD1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#497FD9
Tritanopia (blue-blind)
#B7638D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b946dd;
/* rgb */ color: rgb(185, 70, 221);
/* oklch */ color: oklch(61.3% 0.231 317.0);
Tailwind
colors: {
  custom: {
    50: '#d282e8',
    500: '#b946dd',
    950: '#000000',
  },
}
SCSS
$custom: #b946dd;
$custom-light: #d282e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b946dd",
  "rgb": {
    "r": 185,
    "g": 70,
    "b": 221
  },
  "hsl": {
    "h": 285.695,
    "s": 68.95,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61341,
    "c": 0.23107,
    "h": 317
  },
  "luminance": 0.19915
}

Semantic roles & 50–950 ramp

primary
#B946DD
secondary
#AFDEA1
accent
#EC3C66
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B946DD

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

Preview Lab → · Contrast checker → · Palette generator →

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