#B645D3#B645D3

#B645D3 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.2% C 0.222 H 318.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B645D3
RGBrgb(182, 69, 211)
HSLhsl(288, 62%, 55%)
HSVhsv(288, 67%, 83%)
CMYKcmyk(13.7%, 67.3%, 0%, 17.3%)
CIE-LABlab(50.58, 65.07, -52.32)
CIE-LCHlch(50.58, 83.50, 321.20°)
OKLaboklab(60.23% 0.167 -0.1466)
OKLCHoklch(60.23% 0.222 318.7)
XYZxyz(33.1758, 18.9060, 63.5171)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645D3 #62D345
analogous
#6F45D3 #B645D3 #D345A9
triadic
#B645D3 #D3B645 #45D3B6
tetradic
#B645D3 #D36F45 #62D345 #45A9D3
square
#B645D3 #D36F45 #62D345 #45A9D3
split-complementary
#B645D3 #A9D345 #45D36F
monochromatic
#6C1E7F #952AB1 #B645D3 #C976DF #DDA8EA

Accessibility & contrast

On white

4.39
#B645D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B645D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B645D3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645D3#FFFFFF#000000##000000
##B645D31.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0171D7
Deuteranopia (green-blind)
#4D7CD0
Tritanopia (blue-blind)
#B65F87
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b645d3;
/* rgb */ color: rgb(182, 69, 211);
/* oklch */ color: oklch(60.2% 0.222 318.7);
Tailwind
colors: {
  custom: {
    50: '#d081e1',
    500: '#b645d3',
    950: '#000000',
  },
}
SCSS
$custom: #b645d3;
$custom-light: #d081e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b645d3",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 287.746,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60228,
    "c": 0.22219,
    "h": 318.7
  },
  "luminance": 0.18904
}

Semantic roles & 50–950 ramp

primary
#B645D3
secondary
#A8D89C
accent
#E54364
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B645D3

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

Preview Lab → · Contrast checker → · Palette generator →

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