#B645AA#B645AA

#B645AA is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.9% C 0.187 H 332.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B645AA
RGBrgb(182, 69, 170)
HSLhsl(306, 45%, 49%)
HSVhsv(306, 62%, 71%)
CMYKcmyk(0%, 62.1%, 6.6%, 28.6%)
CIE-LABlab(48.39, 57.79, -31.99)
CIE-LCHlch(48.39, 66.06, 331.03°)
OKLaboklab(57.94% 0.1655 -0.0876)
OKLCHoklch(57.94% 0.187 332.1)
XYZxyz(28.6752, 17.1057, 39.8138)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645AA #45B651
analogous
#8A45B6 #B645AA #B64572
triadic
#B645AA #AAB645 #45AAB6
tetradic
#B645AA #B68A45 #45B651 #4572B6
square
#B645AA #B68A45 #45B651 #4572B6
split-complementary
#B645AA #72B645 #45B68A
monochromatic
#5D2357 #8A3481 #B645AA #C970BF #D99CD3

Accessibility & contrast

On white

4.75
#B645AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B645AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B645AA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645AA#FFFFFF#000000##FFFFFF
##B645AA1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4069AD
Deuteranopia (green-blind)
#6579A7
Tritanopia (blue-blind)
#BD4F71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b645aa;
/* rgb */ color: rgb(182, 69, 170);
/* oklch */ color: oklch(57.9% 0.187 332.1);
Tailwind
colors: {
  custom: {
    50: '#cf80c3',
    500: '#b645aa',
    950: '#000000',
  },
}
SCSS
$custom: #b645aa;
$custom-light: #cf80c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b645aa",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 306.372,
    "s": 45.02,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57941,
    "c": 0.18724,
    "h": 332.1
  },
  "luminance": 0.17104
}

Semantic roles & 50–950 ramp

primary
#B645AA
secondary
#91C697
accent
#D56153
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #B645AA

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

Preview Lab → · Contrast checker → · Palette generator →

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