#B945CF#B945CF

#B945CF is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.4% C 0.220 H 320.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B945CF
RGBrgb(185, 69, 207)
HSLhsl(290, 59%, 54%)
HSVhsv(290, 67%, 81%)
CMYKcmyk(10.6%, 66.7%, 0%, 18.8%)
CIE-LABlab(50.78, 64.99, -49.69)
CIE-LCHlch(50.78, 81.81, 322.60°)
OKLaboklab(60.39% 0.1706 -0.1388)
OKLCHoklch(60.39% 0.22 320.9)
XYZxyz(33.3969, 19.0772, 60.9425)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B945CF #5BCF45
analogous
#7445CF #B945CF #CF45A0
triadic
#B945CF #CFB945 #45CFB9
tetradic
#B945CF #CF7445 #5BCF45 #45A0CF
square
#B945CF #CF7445 #5BCF45 #45A0CF
split-complementary
#B945CF #A0CF45 #45CF74
monochromatic
#6C207A #972CAB #B945CF #CB76DC #DEA6E8

Accessibility & contrast

On white

4.36
#B945CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B945CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B945CF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B945CF#FFFFFF#000000##000000
##B945CF1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1771D3
Deuteranopia (green-blind)
#537DCC
Tritanopia (blue-blind)
#BA5D85
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b945cf;
/* rgb */ color: rgb(185, 69, 207);
/* oklch */ color: oklch(60.4% 0.220 320.9);
Tailwind
colors: {
  custom: {
    50: '#d281de',
    500: '#b945cf',
    950: '#000000',
  },
}
SCSS
$custom: #b945cf;
$custom-light: #d281de;
$custom-dark: #000000;
JSON
{
  "hex": "#b945cf",
  "rgb": {
    "r": 185,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 290.435,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60385,
    "c": 0.21994,
    "h": 320.9
  },
  "luminance": 0.19076
}

Semantic roles & 50–950 ramp

primary
#B945CF
secondary
#A4D59B
accent
#E2465F
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B945CF

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

Preview Lab → · Contrast checker → · Palette generator →

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