#B945DE#B945DE

#B945DE is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.3% C 0.233 H 316.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B945DE
RGBrgb(185, 69, 222)
HSLhsl(285, 70%, 57%)
HSVhsv(285, 69%, 87%)
CMYKcmyk(16.7%, 68.9%, 0%, 12.9%)
CIE-LABlab(51.66, 67.82, -56.82)
CIE-LCHlch(51.66, 88.48, 320.04°)
OKLaboklab(61.3% 0.1699 -0.1597)
OKLCHoklch(61.3% 0.233 316.8)
XYZxyz(35.3186, 19.8459, 71.0633)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B945DE #6ADE45
analogous
#6D45DE #B945DE #DE45B7
triadic
#B945DE #DEB945 #45DEB9
tetradic
#B945DE #DE6D45 #6ADE45 #45B7DE
square
#B945DE #DE6D45 #6ADE45 #45B7DE
split-complementary
#B945DE #B7DE45 #45DE6D
monochromatic
#73198F #9C23C3 #B945DE #CD79E7 #E0ADF0

Accessibility & contrast

On white

4.23
#B945DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B945DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B945DE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B945DE#FFFFFF#000000##000000
##B945DE1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#477FDA
Tritanopia (blue-blind)
#B7638D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b945de;
/* rgb */ color: rgb(185, 69, 222);
/* oklch */ color: oklch(61.3% 0.233 316.8);
Tailwind
colors: {
  custom: {
    50: '#d282e9',
    500: '#b945de',
    950: '#000000',
  },
}
SCSS
$custom: #b945de;
$custom-light: #d282e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b945de",
  "rgb": {
    "r": 185,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 285.49,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61303,
    "c": 0.23317,
    "h": 316.8
  },
  "luminance": 0.19844
}

Semantic roles & 50–950 ramp

primary
#B945DE
secondary
#AFDFA0
accent
#ED3B66
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B945DE

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

Preview Lab → · Contrast checker → · Palette generator →

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