#B645C1#B645C1

#B645C1 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.2% C 0.206 H 324.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B645C1
RGBrgb(182, 69, 193)
HSLhsl(295, 50%, 51%)
HSVhsv(295, 64%, 76%)
CMYKcmyk(5.7%, 64.2%, 0%, 24.3%)
CIE-LABlab(49.56, 61.75, -43.59)
CIE-LCHlch(49.56, 75.58, 324.78°)
OKLaboklab(59.17% 0.1671 -0.1211)
OKLCHoklch(59.17% 0.206 324.1)
XYZxyz(31.0443, 18.0534, 52.2912)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645C1 #50C145
analogous
#7845C1 #B645C1 #C1458E
triadic
#B645C1 #C1B645 #45C1B6
tetradic
#B645C1 #C17845 #50C145 #458EC1
square
#B645C1 #C17845 #50C145 #458EC1
split-complementary
#B645C1 #8EC145 #45C178
monochromatic
#632369 #8E3297 #B645C1 #C873D0 #DAA1E0

Accessibility & contrast

On white

4.55
#B645C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#B645C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B645C1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645C1#FFFFFF#000000##000000
##B645C11.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B6DC5
Deuteranopia (green-blind)
#5A7ABE
Tritanopia (blue-blind)
#B9587D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b645c1;
/* rgb */ color: rgb(182, 69, 193);
/* oklch */ color: oklch(59.2% 0.206 324.1);
Tailwind
colors: {
  custom: {
    50: '#cf81d4',
    500: '#b645c1',
    950: '#000000',
  },
}
SCSS
$custom: #b645c1;
$custom-light: #cf81d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b645c1",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 294.677,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59168,
    "c": 0.20639,
    "h": 324.1
  },
  "luminance": 0.18052
}

Semantic roles & 50–950 ramp

primary
#B645C1
secondary
#9ACC96
accent
#DA4E5B
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B645C1

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

Preview Lab → · Contrast checker → · Palette generator →

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