#B945CD#B945CD

#B945CD is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.3% C 0.218 H 321.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B945CD
RGBrgb(185, 69, 205)
HSLhsl(291, 58%, 54%)
HSVhsv(291, 66%, 80%)
CMYKcmyk(9.8%, 66.3%, 0%, 19.6%)
CIE-LABlab(50.66, 64.62, -48.72)
CIE-LCHlch(50.66, 80.93, 322.99°)
OKLaboklab(60.27% 0.1706 -0.136)
OKLCHoklch(60.27% 0.218 321.4)
XYZxyz(33.1539, 18.9800, 59.6630)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B945CD #59CD45
analogous
#7545CD #B945CD #CD459D
triadic
#B945CD #CDB945 #45CDB9
tetradic
#B945CD #CD7545 #59CD45 #459DCD
square
#B945CD #CD7545 #59CD45 #459DCD
split-complementary
#B945CD #9DCD45 #45CD75
monochromatic
#6B2077 #962DA8 #B945CD #CB75DA #DDA5E7

Accessibility & contrast

On white

4.38
#B945CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B945CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B945CD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B945CD#FFFFFF#000000##000000
##B945CD1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C70D1
Deuteranopia (green-blind)
#557DCA
Tritanopia (blue-blind)
#BB5C84
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b945cd;
/* rgb */ color: rgb(185, 69, 205);
/* oklch */ color: oklch(60.3% 0.218 321.4);
Tailwind
colors: {
  custom: {
    50: '#d281dd',
    500: '#b945cd',
    950: '#000000',
  },
}
SCSS
$custom: #b945cd;
$custom-light: #d281dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b945cd",
  "rgb": {
    "r": 185,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 291.176,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60266,
    "c": 0.21819,
    "h": 321.4
  },
  "luminance": 0.18978
}

Semantic roles & 50–950 ramp

primary
#B945CD
secondary
#A2D49A
accent
#E1475E
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B945CD

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

Preview Lab → · Contrast checker → · Palette generator →

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