#B945C3#B945C3

#B945C3 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.7% C 0.210 H 324.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B945C3
RGBrgb(185, 69, 195)
HSLhsl(295, 51%, 52%)
HSVhsv(295, 65%, 76%)
CMYKcmyk(5.1%, 64.6%, 0%, 23.5%)
CIE-LABlab(50.11, 62.82, -43.84)
CIE-LCHlch(50.11, 76.60, 325.09°)
OKLaboklab(59.69% 0.1706 -0.1218)
OKLCHoklch(59.69% 0.21 324.5)
XYZxyz(31.9852, 18.5126, 53.5077)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B945C3 #4FC345
analogous
#7A45C3 #B945C3 #C3458E
triadic
#B945C3 #C3B945 #45C3B9
tetradic
#B945C3 #C37A45 #4FC345 #458EC3
square
#B945C3 #C37A45 #4FC345 #458EC3
split-complementary
#B945C3 #8EC345 #45C37A
monochromatic
#65236B #913199 #B945C3 #CA73D2 #DCA2E1

Accessibility & contrast

On white

4.47
#B945C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#B945C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B945C3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B945C3#FFFFFF#000000##000000
##B945C31.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C6EC7
Deuteranopia (green-blind)
#5B7CC0
Tritanopia (blue-blind)
#BD587E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b945c3;
/* rgb */ color: rgb(185, 69, 195);
/* oklch */ color: oklch(59.7% 0.210 324.5);
Tailwind
colors: {
  custom: {
    50: '#d181d6',
    500: '#b945c3',
    950: '#000000',
  },
}
SCSS
$custom: #b945c3;
$custom-light: #d181d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b945c3",
  "rgb": {
    "r": 185,
    "g": 69,
    "b": 195
  },
  "hsl": {
    "h": 295.238,
    "s": 51.22,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5969,
    "c": 0.20958,
    "h": 324.5
  },
  "luminance": 0.18511
}

Semantic roles & 50–950 ramp

primary
#B945C3
secondary
#9BCE96
accent
#DB4D58
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B945C3

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

Preview Lab → · Contrast checker → · Palette generator →

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