#B645AE#B645AE

#B645AE is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.1% C 0.190 H 330.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B645AE
RGBrgb(182, 69, 174)
HSLhsl(304, 45%, 49%)
HSVhsv(304, 62%, 71%)
CMYKcmyk(0%, 62.1%, 4.4%, 28.6%)
CIE-LABlab(48.59, 58.45, -34.05)
CIE-LCHlch(48.59, 67.64, 329.78°)
OKLaboklab(58.14% 0.1659 -0.0935)
OKLCHoklch(58.14% 0.19 330.6)
XYZxyz(29.0594, 17.2594, 41.8370)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645AE #45B64D
analogous
#8645B6 #B645AE #B64576
triadic
#B645AE #AEB645 #45AEB6
tetradic
#B645AE #B68645 #45B64D #4576B6
square
#B645AE #B68645 #45B64D #4576B6
split-complementary
#B645AE #76B645 #45B686
monochromatic
#5D2359 #8A3484 #B645AE #C970C2 #D99CD5

Accessibility & contrast

On white

4.72
#B645AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#B645AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B645AE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645AE#FFFFFF#000000##FFFFFF
##B645AE1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D69B1
Deuteranopia (green-blind)
#6479AB
Tritanopia (blue-blind)
#BD5073
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b645ae;
/* rgb */ color: rgb(182, 69, 174);
/* oklch */ color: oklch(58.1% 0.190 330.6);
Tailwind
colors: {
  custom: {
    50: '#cf80c6',
    500: '#b645ae',
    950: '#000000',
  },
}
SCSS
$custom: #b645ae;
$custom-light: #cf80c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b645ae",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 304.248,
    "s": 45.02,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58144,
    "c": 0.19045,
    "h": 330.6
  },
  "luminance": 0.17257
}

Semantic roles & 50–950 ramp

primary
#B645AE
secondary
#91C695
accent
#D55C53
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B645AE

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

Preview Lab → · Contrast checker → · Palette generator →

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