#B945D6#B945D6

#B945D6 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.8% C 0.226 H 318.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B945D6
RGBrgb(185, 69, 214)
HSLhsl(288, 64%, 55%)
HSVhsv(288, 68%, 84%)
CMYKcmyk(13.6%, 67.8%, 0%, 16.1%)
CIE-LABlab(51.18, 66.30, -53.04)
CIE-LCHlch(51.18, 84.90, 321.34°)
OKLaboklab(60.81% 0.1704 -0.1486)
OKLCHoklch(60.81% 0.226 318.9)
XYZxyz(34.2717, 19.4271, 65.5499)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B945D6 #62D645
analogous
#7045D6 #B945D6 #D645AA
triadic
#B945D6 #D6B945 #45D6B9
tetradic
#B945D6 #D67045 #62D645 #45AAD6
square
#B945D6 #D67045 #62D645 #45AAD6
split-complementary
#B945D6 #AAD645 #45D670
monochromatic
#6F1D84 #9928B6 #B945D6 #CC77E1 #DFA9EC

Accessibility & contrast

On white

4.30
#B945D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#B945D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B945D6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B945D6#FFFFFF#000000##000000
##B945D61.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DA
Deuteranopia (green-blind)
#4E7ED3
Tritanopia (blue-blind)
#B96088
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b945d6;
/* rgb */ color: rgb(185, 69, 214);
/* oklch */ color: oklch(60.8% 0.226 318.9);
Tailwind
colors: {
  custom: {
    50: '#d282e3',
    500: '#b945d6',
    950: '#000000',
  },
}
SCSS
$custom: #b945d6;
$custom-light: #d282e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b945d6",
  "rgb": {
    "r": 185,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 288,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60806,
    "c": 0.22607,
    "h": 318.9
  },
  "luminance": 0.19426
}

Semantic roles & 50–950 ramp

primary
#B945D6
secondary
#A9DA9D
accent
#E74162
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#150B15
muted
#837C84

Preview Lab

Preview with #B945D6

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

Preview Lab → · Contrast checker → · Palette generator →

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