#B945C8#B945C8

#B945C8 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.0% C 0.214 H 322.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B945C8
RGBrgb(185, 69, 200)
HSLhsl(293, 54%, 53%)
HSVhsv(293, 66%, 78%)
CMYKcmyk(7.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(50.38, 63.71, -46.29)
CIE-LCHlch(50.38, 78.75, 324.00°)
OKLaboklab(59.98% 0.1707 -0.1289)
OKLCHoklch(59.98% 0.214 322.9)
XYZxyz(32.5600, 18.7425, 56.5350)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B945C8 #54C845
analogous
#7845C8 #B945C8 #C84595
triadic
#B945C8 #C8B945 #45C8B9
tetradic
#B945C8 #C87845 #54C845 #4595C8
square
#B945C8 #C87845 #54C845 #4595C8
split-complementary
#B945C8 #95C845 #45C878
monochromatic
#682171 #932FA0 #B945C8 #CB74D6 #DDA3E4

Accessibility & contrast

On white

4.42
#B945C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B945C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B945C8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B945C8#FFFFFF#000000##000000
##B945C81.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#256FCC
Deuteranopia (green-blind)
#587CC5
Tritanopia (blue-blind)
#BC5A81
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b945c8;
/* rgb */ color: rgb(185, 69, 200);
/* oklch */ color: oklch(60.0% 0.214 322.9);
Tailwind
colors: {
  custom: {
    50: '#d181d9',
    500: '#b945c8',
    950: '#000000',
  },
}
SCSS
$custom: #b945c8;
$custom-light: #d181d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b945c8",
  "rgb": {
    "r": 185,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 293.13,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59975,
    "c": 0.21386,
    "h": 322.9
  },
  "luminance": 0.18741
}

Semantic roles & 50–950 ramp

primary
#B945C8
secondary
#9FD198
accent
#DE4A5B
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B15
muted
#837C83

Preview Lab

Preview with #B945C8

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

Preview Lab → · Contrast checker → · Palette generator →

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