#B645AF#B645AF

#B645AF is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.2% C 0.191 H 330.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B645AF
RGBrgb(182, 69, 175)
HSLhsl(304, 45%, 49%)
HSVhsv(304, 62%, 71%)
CMYKcmyk(0%, 62.1%, 3.8%, 28.6%)
CIE-LABlab(48.63, 58.62, -34.56)
CIE-LCHlch(48.63, 68.05, 329.48°)
OKLaboklab(58.2% 0.166 -0.095)
OKLCHoklch(58.2% 0.191 330.2)
XYZxyz(29.1572, 17.2985, 42.3524)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645AF #45B64C
analogous
#8545B6 #B645AF #B64577
triadic
#B645AF #AFB645 #45AFB6
tetradic
#B645AF #B68545 #45B64C #4577B6
square
#B645AF #B68545 #45B64C #4577B6
split-complementary
#B645AF #77B645 #45B685
monochromatic
#5D235A #8A3484 #B645AF #C970C3 #D99CD6

Accessibility & contrast

On white

4.71
#B645AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B645AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B645AF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645AF#FFFFFF#000000##FFFFFF
##B645AF1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6AB2
Deuteranopia (green-blind)
#6379AC
Tritanopia (blue-blind)
#BD5174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b645af;
/* rgb */ color: rgb(182, 69, 175);
/* oklch */ color: oklch(58.2% 0.191 330.2);
Tailwind
colors: {
  custom: {
    50: '#cf80c7',
    500: '#b645af',
    950: '#000000',
  },
}
SCSS
$custom: #b645af;
$custom-light: #cf80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b645af",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 303.717,
    "s": 45.02,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58196,
    "c": 0.19126,
    "h": 330.2
  },
  "luminance": 0.17296
}

Semantic roles & 50–950 ramp

primary
#B645AF
secondary
#91C694
accent
#D55B53
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B645AF

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

Preview Lab → · Contrast checker → · Palette generator →

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