#B645BB#B645BB

#B645BB is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 58.8% C 0.201 H 326.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B645BB
RGBrgb(182, 69, 187)
HSLhsl(297, 46%, 50%)
HSVhsv(297, 63%, 73%)
CMYKcmyk(2.7%, 63.1%, 0%, 26.7%)
CIE-LABlab(49.24, 60.68, -40.61)
CIE-LCHlch(49.24, 73.02, 326.21°)
OKLaboklab(58.83% 0.1669 -0.1124)
OKLCHoklch(58.83% 0.201 326)
XYZxyz(30.3886, 17.7911, 48.8375)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645BB #4ABB45
analogous
#7B45BB #B645BB #BB4585
triadic
#B645BB #BBB645 #45BBB6
tetradic
#B645BB #BB7B45 #4ABB45 #4585BB
square
#B645BB #BB7B45 #4ABB45 #4585BB
split-complementary
#B645BB #85BB45 #45BB7B
monochromatic
#5F2462 #8B348F #B645BB #C872CB #D99FDC

Accessibility & contrast

On white

4.61
#B645BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B645BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B645BB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645BB#FFFFFF#000000##FFFFFF
##B645BB1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326CBF
Deuteranopia (green-blind)
#5D7AB8
Tritanopia (blue-blind)
#BA567A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b645bb;
/* rgb */ color: rgb(182, 69, 187);
/* oklch */ color: oklch(58.8% 0.201 326.0);
Tailwind
colors: {
  custom: {
    50: '#cf81d0',
    500: '#b645bb',
    950: '#000000',
  },
}
SCSS
$custom: #b645bb;
$custom-light: #cf81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b645bb",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 297.458,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58834,
    "c": 0.20125,
    "h": 326
  },
  "luminance": 0.17789
}

Semantic roles & 50–950 ramp

primary
#B645BB
secondary
#96C894
accent
#D65257
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B645BB

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

Preview Lab → · Contrast checker → · Palette generator →

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