#B945D5#B945D5

#B945D5 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.7% C 0.225 H 319.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B945D5
RGBrgb(185, 69, 213)
HSLhsl(288, 63%, 55%)
HSVhsv(288, 68%, 84%)
CMYKcmyk(13.1%, 67.6%, 0%, 16.5%)
CIE-LABlab(51.12, 66.11, -52.57)
CIE-LCHlch(51.12, 84.46, 321.51°)
OKLaboklab(60.75% 0.1704 -0.1472)
OKLCHoklch(60.75% 0.225 319.2)
XYZxyz(34.1444, 19.3762, 64.8793)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B945D5 #61D545
analogous
#7145D5 #B945D5 #D545A9
triadic
#B945D5 #D5B945 #45D5B9
tetradic
#B945D5 #D57145 #61D545 #45A9D5
square
#B945D5 #D57145 #61D545 #45A9D5
split-complementary
#B945D5 #A9D545 #45D571
monochromatic
#6F1D82 #9929B4 #B945D5 #CC77E0 #DFA9EC

Accessibility & contrast

On white

4.31
#B945D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#B945D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B945D5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B945D5#FFFFFF#000000##000000
##B945D51.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0172D9
Deuteranopia (green-blind)
#4F7ED2
Tritanopia (blue-blind)
#B95F88
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b945d5;
/* rgb */ color: rgb(185, 69, 213);
/* oklch */ color: oklch(60.7% 0.225 319.2);
Tailwind
colors: {
  custom: {
    50: '#d282e2',
    500: '#b945d5',
    950: '#000000',
  },
}
SCSS
$custom: #b945d5;
$custom-light: #d282e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b945d5",
  "rgb": {
    "r": 185,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 288.333,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60745,
    "c": 0.2252,
    "h": 319.2
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

primary
#B945D5
secondary
#A9D99D
accent
#E64262
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #B945D5

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

Preview Lab → · Contrast checker → · Palette generator →

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