#B645B7#B645B7

#B645B7 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.6% C 0.198 H 327.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B645B7
RGBrgb(182, 69, 183)
HSLhsl(299, 45%, 49%)
HSVhsv(299, 62%, 72%)
CMYKcmyk(0.5%, 62.3%, 0%, 28.2%)
CIE-LABlab(49.03, 59.98, -38.61)
CIE-LCHlch(49.03, 71.33, 327.23°)
OKLaboklab(58.62% 0.1667 -0.1066)
OKLCHoklch(58.62% 0.198 327.4)
XYZxyz(29.9663, 17.6222, 46.6136)
Luminance0.1762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645B7 #46B745
analogous
#7D45B7 #B645B7 #B7457F
triadic
#B645B7 #B7B645 #45B7B6
tetradic
#B645B7 #B77D45 #46B745 #457FB7
square
#B645B7 #B77D45 #46B745 #457FB7
split-complementary
#B645B7 #7FB745 #45B77D
monochromatic
#5E235E #8A348B #B645B7 #C870C9 #D99DDA

Accessibility & contrast

On white

4.64
#B645B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#B645B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B645B7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645B7#FFFFFF#000000##FFFFFF
##B645B71.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366BBA
Deuteranopia (green-blind)
#5F7AB4
Tritanopia (blue-blind)
#BB5478
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b645b7;
/* rgb */ color: rgb(182, 69, 183);
/* oklch */ color: oklch(58.6% 0.198 327.4);
Tailwind
colors: {
  custom: {
    50: '#cf80cd',
    500: '#b645b7',
    950: '#000000',
  },
}
SCSS
$custom: #b645b7;
$custom-light: #cf80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b645b7",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 299.474,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58617,
    "c": 0.19787,
    "h": 327.4
  },
  "luminance": 0.1762
}

Semantic roles & 50–950 ramp

primary
#B645B7
secondary
#92C692
accent
#D55354
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #B645B7

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

Preview Lab → · Contrast checker → · Palette generator →

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