#B945CA#B945CA

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

Color values

HEX#B945CA
RGBrgb(185, 69, 202)
HSLhsl(292, 56%, 53%)
HSVhsv(292, 66%, 79%)
CMYKcmyk(8.4%, 65.8%, 0%, 20.8%)
CIE-LABlab(50.50, 64.08, -47.27)
CIE-LCHlch(50.50, 79.62, 323.58°)
OKLaboklab(60.09% 0.1707 -0.1317)
OKLCHoklch(60.09% 0.216 322.3)
XYZxyz(32.7953, 18.8366, 57.7741)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B945CA #56CA45
analogous
#7645CA #B945CA #CA4598
triadic
#B945CA #CAB945 #45CAB9
tetradic
#B945CA #CA7645 #56CA45 #4598CA
square
#B945CA #CA7645 #56CA45 #4598CA
split-complementary
#B945CA #98CA45 #45CA76
monochromatic
#692174 #942FA3 #B945CA #CB75D8 #DDA4E5

Accessibility & contrast

On white

4.41
#B945CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B945CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B945CA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B945CA#FFFFFF#000000##000000
##B945CA1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2170CE
Deuteranopia (green-blind)
#577DC7
Tritanopia (blue-blind)
#BB5B82
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b945ca;
/* rgb */ color: rgb(185, 69, 202);
/* oklch */ color: oklch(60.1% 0.216 322.3);
Tailwind
colors: {
  custom: {
    50: '#d181db',
    500: '#b945ca',
    950: '#000000',
  },
}
SCSS
$custom: #b945ca;
$custom-light: #d181db;
$custom-dark: #000000;
JSON
{
  "hex": "#b945ca",
  "rgb": {
    "r": 185,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 292.331,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60091,
    "c": 0.21559,
    "h": 322.3
  },
  "luminance": 0.18835
}

Semantic roles & 50–950 ramp

primary
#B945CA
secondary
#A0D299
accent
#DF495C
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B945CA

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

Preview Lab → · Contrast checker → · Palette generator →

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