#B645BD#B645BD

#B645BD is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 58.9% C 0.203 H 325.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B645BD
RGBrgb(182, 69, 189)
HSLhsl(297, 48%, 51%)
HSVhsv(297, 63%, 74%)
CMYKcmyk(3.7%, 63.5%, 0%, 25.9%)
CIE-LABlab(49.35, 61.03, -41.61)
CIE-LCHlch(49.35, 73.87, 325.72°)
OKLaboklab(58.94% 0.167 -0.1153)
OKLCHoklch(58.94% 0.203 325.4)
XYZxyz(30.6041, 17.8773, 49.9729)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645BD #4CBD45
analogous
#7A45BD #B645BD #BD4588
triadic
#B645BD #BDB645 #45BDB6
tetradic
#B645BD #BD7A45 #4CBD45 #4588BD
square
#B645BD #BD7A45 #4CBD45 #4588BD
split-complementary
#B645BD #88BD45 #45BD7A
monochromatic
#602464 #8C3491 #B645BD #C872CD #D99FDD

Accessibility & contrast

On white

4.59
#B645BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B645BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B645BD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645BD#FFFFFF#000000##FFFFFF
##B645BD1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CC1
Deuteranopia (green-blind)
#5C7ABA
Tritanopia (blue-blind)
#BA567B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b645bd;
/* rgb */ color: rgb(182, 69, 189);
/* oklch */ color: oklch(58.9% 0.203 325.4);
Tailwind
colors: {
  custom: {
    50: '#cf81d1',
    500: '#b645bd',
    950: '#000000',
  },
}
SCSS
$custom: #b645bd;
$custom-light: #cf81d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b645bd",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 296.5,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58944,
    "c": 0.20295,
    "h": 325.4
  },
  "luminance": 0.17875
}

Semantic roles & 50–950 ramp

primary
#B645BD
secondary
#97CA94
accent
#D75158
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B645BD

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

Preview Lab → · Contrast checker → · Palette generator →

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