#B945CB#B945CB

#B945CB is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.1% C 0.216 H 322.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B945CB
RGBrgb(185, 69, 203)
HSLhsl(292, 56%, 53%)
HSVhsv(292, 66%, 80%)
CMYKcmyk(8.9%, 66%, 0%, 20.4%)
CIE-LABlab(50.55, 64.26, -47.75)
CIE-LCHlch(50.55, 80.06, 323.38°)
OKLaboklab(60.15% 0.1707 -0.1331)
OKLCHoklch(60.15% 0.216 322)
XYZxyz(32.9141, 18.8841, 58.3996)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B945CB #57CB45
analogous
#7645CB #B945CB #CB459A
triadic
#B945CB #CBB945 #45CBB9
tetradic
#B945CB #CB7645 #57CB45 #459ACB
square
#B945CB #CB7645 #57CB45 #459ACB
split-complementary
#B945CB #9ACB45 #45CB76
monochromatic
#6A2175 #952EA5 #B945CB #CB75D8 #DDA5E6

Accessibility & contrast

On white

4.40
#B945CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B945CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B945CB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B945CB#FFFFFF#000000##000000
##B945CB1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2070CF
Deuteranopia (green-blind)
#567DC8
Tritanopia (blue-blind)
#BB5B82
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b945cb;
/* rgb */ color: rgb(185, 69, 203);
/* oklch */ color: oklch(60.1% 0.216 322.0);
Tailwind
colors: {
  custom: {
    50: '#d181db',
    500: '#b945cb',
    950: '#000000',
  },
}
SCSS
$custom: #b945cb;
$custom-light: #d181db;
$custom-dark: #000000;
JSON
{
  "hex": "#b945cb",
  "rgb": {
    "r": 185,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 291.94,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60149,
    "c": 0.21646,
    "h": 322
  },
  "luminance": 0.18882
}

Semantic roles & 50–950 ramp

primary
#B945CB
secondary
#A1D399
accent
#E0485D
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B945CB

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

Preview Lab → · Contrast checker → · Palette generator →

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