#B645D1#B645D1

#B645D1 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.1% C 0.220 H 319.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B645D1
RGBrgb(182, 69, 209)
HSLhsl(288, 60%, 55%)
HSVhsv(288, 67%, 82%)
CMYKcmyk(12.9%, 67%, 0%, 18%)
CIE-LABlab(50.46, 64.70, -51.37)
CIE-LCHlch(50.46, 82.61, 321.55°)
OKLaboklab(60.11% 0.1671 -0.1438)
OKLCHoklch(60.11% 0.22 319.3)
XYZxyz(32.9267, 18.8063, 62.2048)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645D1 #60D145
analogous
#7045D1 #B645D1 #D145A6
triadic
#B645D1 #D1B645 #45D1B6
tetradic
#B645D1 #D17045 #60D145 #45A6D1
square
#B645D1 #D17045 #60D145 #45A6D1
split-complementary
#B645D1 #A6D145 #45D170
monochromatic
#6B1F7D #952BAE #B645D1 #C976DD #DDA7E9

Accessibility & contrast

On white

4.41
#B645D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B645D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B645D1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645D1#FFFFFF#000000##000000
##B645D11.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B71D5
Deuteranopia (green-blind)
#4F7CCE
Tritanopia (blue-blind)
#B65E86
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b645d1;
/* rgb */ color: rgb(182, 69, 209);
/* oklch */ color: oklch(60.1% 0.220 319.3);
Tailwind
colors: {
  custom: {
    50: '#cf81e0',
    500: '#b645d1',
    950: '#000000',
  },
}
SCSS
$custom: #b645d1;
$custom-light: #cf81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b645d1",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 288.429,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60106,
    "c": 0.22041,
    "h": 319.3
  },
  "luminance": 0.18805
}

Semantic roles & 50–950 ramp

primary
#B645D1
secondary
#A7D79B
accent
#E34463
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B645D1

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

Preview Lab → · Contrast checker → · Palette generator →

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