#B946DB#B946DB

#B946DB is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.2% C 0.229 H 317.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B946DB
RGBrgb(185, 70, 219)
HSLhsl(286, 67%, 57%)
HSVhsv(286, 68%, 86%)
CMYKcmyk(15.5%, 68%, 0%, 14.1%)
CIE-LABlab(51.62, 66.85, -55.19)
CIE-LCHlch(51.62, 86.68, 320.46°)
OKLaboklab(61.22% 0.1691 -0.1549)
OKLCHoklch(61.22% 0.229 317.5)
XYZxyz(34.9821, 19.8106, 68.9852)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B946DB #68DB46
analogous
#6F46DB #B946DB #DB46B2
triadic
#B946DB #DBB946 #46DBB9
tetradic
#B946DB #DB6F46 #68DB46 #46B2DB
square
#B946DB #DB6F46 #68DB46 #46B2DB
split-complementary
#B946DB #B2DB46 #46DB6F
monochromatic
#721B8B #9C25BF #B946DB #CC79E5 #E0ACEF

Accessibility & contrast

On white

4.23
#B946DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B946DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B946DB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B946DB#FFFFFF#000000##000000
##B946DB1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#4B7FD8
Tritanopia (blue-blind)
#B8638B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b946db;
/* rgb */ color: rgb(185, 70, 219);
/* oklch */ color: oklch(61.2% 0.229 317.5);
Tailwind
colors: {
  custom: {
    50: '#d282e7',
    500: '#b946db',
    950: '#000000',
  },
}
SCSS
$custom: #b946db;
$custom-light: #d282e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b946db",
  "rgb": {
    "r": 185,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 286.309,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61216,
    "c": 0.22929,
    "h": 317.5
  },
  "luminance": 0.19809
}

Semantic roles & 50–950 ramp

primary
#B946DB
secondary
#AEDDA0
accent
#EA3D65
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B946DB

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

Preview Lab → · Contrast checker → · Palette generator →

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