#B946DF#B946DF

#B946DF is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.5% C 0.233 H 316.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B946DF
RGBrgb(185, 70, 223)
HSLhsl(285, 71%, 57%)
HSVhsv(285, 69%, 87%)
CMYKcmyk(17%, 68.6%, 0%, 12.5%)
CIE-LABlab(51.86, 67.61, -57.07)
CIE-LCHlch(51.86, 88.48, 319.84°)
OKLaboklab(61.47% 0.1688 -0.1604)
OKLCHoklch(61.47% 0.233 316.5)
XYZxyz(35.5150, 20.0237, 71.7919)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B946DF #6CDF46
analogous
#6C46DF #B946DF #DF46B9
triadic
#B946DF #DFB946 #46DFB9
tetradic
#B946DF #DF6C46 #6CDF46 #46B9DF
square
#B946DF #DF6C46 #6CDF46 #46B9DF
split-complementary
#B946DF #B9DF46 #46DF6C
monochromatic
#741991 #9D22C6 #B946DF #CD7AE8 #E0AEF1

Accessibility & contrast

On white

4.20
#B946DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B946DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B946DF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B946DF#FFFFFF#000000##000000
##B946DF1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#477FDB
Tritanopia (blue-blind)
#B7648E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b946df;
/* rgb */ color: rgb(185, 70, 223);
/* oklch */ color: oklch(61.5% 0.233 316.5);
Tailwind
colors: {
  custom: {
    50: '#d282ea',
    500: '#b946df',
    950: '#000000',
  },
}
SCSS
$custom: #b946df;
$custom-light: #d282ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b946df",
  "rgb": {
    "r": 185,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 285.098,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61467,
    "c": 0.23287,
    "h": 316.5
  },
  "luminance": 0.20022
}

Semantic roles & 50–950 ramp

primary
#B946DF
secondary
#B1DFA2
accent
#ED3B67
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B946DF

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

Preview Lab → · Contrast checker → · Palette generator →

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