#B945DA#B945DA

#B945DA is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.1% C 0.230 H 317.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B945DA
RGBrgb(185, 69, 218)
HSLhsl(287, 67%, 56%)
HSVhsv(287, 68%, 85%)
CMYKcmyk(15.1%, 68.3%, 0%, 14.5%)
CIE-LABlab(51.42, 67.05, -54.94)
CIE-LCHlch(51.42, 86.69, 320.67°)
OKLaboklab(61.05% 0.1702 -0.1541)
OKLCHoklch(61.05% 0.23 317.8)
XYZxyz(34.7888, 19.6340, 68.2733)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B945DA #66DA45
analogous
#6F45DA #B945DA #DA45B1
triadic
#B945DA #DAB945 #45DAB9
tetradic
#B945DA #DA6F45 #66DA45 #45B1DA
square
#B945DA #DA6F45 #66DA45 #45B1DA
split-complementary
#B945DA #B1DA45 #45DA6F
monochromatic
#711B89 #9B25BC #B945DA #CC78E4 #DFABEE

Accessibility & contrast

On white

4.26
#B945DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#B945DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B945DA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B945DA#FFFFFF#000000##000000
##B945DA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DE
Deuteranopia (green-blind)
#4B7ED7
Tritanopia (blue-blind)
#B8628B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b945da;
/* rgb */ color: rgb(185, 69, 218);
/* oklch */ color: oklch(61.1% 0.230 317.8);
Tailwind
colors: {
  custom: {
    50: '#d282e6',
    500: '#b945da',
    950: '#000000',
  },
}
SCSS
$custom: #b945da;
$custom-light: #d282e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b945da",
  "rgb": {
    "r": 185,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 286.711,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61053,
    "c": 0.22962,
    "h": 317.8
  },
  "luminance": 0.19632
}

Semantic roles & 50–950 ramp

primary
#B945DA
secondary
#ACDC9F
accent
#EA3E64
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B945DA

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

Preview Lab → · Contrast checker → · Palette generator →

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