#B946DA#B946DA

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

Color values

HEX#B946DA
RGBrgb(185, 70, 218)
HSLhsl(287, 67%, 56%)
HSVhsv(287, 68%, 85%)
CMYKcmyk(15.1%, 67.9%, 0%, 14.5%)
CIE-LABlab(51.56, 66.65, -54.71)
CIE-LCHlch(51.56, 86.23, 320.62°)
OKLaboklab(61.15% 0.1691 -0.1535)
OKLCHoklch(61.15% 0.228 317.8)
XYZxyz(34.8508, 19.7581, 68.2940)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B946DA #67DA46
analogous
#6F46DA #B946DA #DA46B1
triadic
#B946DA #DAB946 #46DAB9
tetradic
#B946DA #DA6F46 #67DA46 #46B1DA
square
#B946DA #DA6F46 #67DA46 #46B1DA
split-complementary
#B946DA #B1DA46 #46DA6F
monochromatic
#711C8A #9B26BD #B946DA #CC79E4 #E0ACEE

Accessibility & contrast

On white

4.24
#B946DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#B946DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B946DA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B946DA#FFFFFF#000000##000000
##B946DA1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#4B7ED7
Tritanopia (blue-blind)
#B8628B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b946da;
/* rgb */ color: rgb(185, 70, 218);
/* oklch */ color: oklch(61.2% 0.228 317.8);
Tailwind
colors: {
  custom: {
    50: '#d282e6',
    500: '#b946da',
    950: '#000000',
  },
}
SCSS
$custom: #b946da;
$custom-light: #d282e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b946da",
  "rgb": {
    "r": 185,
    "g": 70,
    "b": 218
  },
  "hsl": {
    "h": 286.622,
    "s": 66.667,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61154,
    "c": 0.2284,
    "h": 317.8
  },
  "luminance": 0.19757
}

Semantic roles & 50–950 ramp

primary
#B946DA
secondary
#ADDCA0
accent
#EA3E64
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B946DA

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

Preview Lab → · Contrast checker → · Palette generator →

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