#B645C9#B645C9

#B645C9 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.6% C 0.213 H 321.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B645C9
RGBrgb(182, 69, 201)
HSLhsl(291, 55%, 53%)
HSVhsv(291, 66%, 79%)
CMYKcmyk(9.5%, 65.7%, 0%, 21.2%)
CIE-LABlab(50.00, 63.20, -47.50)
CIE-LCHlch(50.00, 79.07, 323.07°)
OKLaboklab(59.63% 0.1672 -0.1325)
OKLCHoklch(59.63% 0.213 321.6)
XYZxyz(31.9610, 18.4200, 57.1189)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645C9 #58C945
analogous
#7445C9 #B645C9 #C9459A
triadic
#B645C9 #C9B645 #45C9B6
tetradic
#B645C9 #C97445 #58C945 #459AC9
square
#B645C9 #C97445 #58C945 #459AC9
split-complementary
#B645C9 #9AC945 #45C974
monochromatic
#672172 #912FA2 #B645C9 #C974D7 #DBA4E5

Accessibility & contrast

On white

4.48
#B645C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#B645C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B645C9
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645C9#FFFFFF#000000##000000
##B645C91.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#206FCD
Deuteranopia (green-blind)
#557BC6
Tritanopia (blue-blind)
#B85B81
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b645c9;
/* rgb */ color: rgb(182, 69, 201);
/* oklch */ color: oklch(59.6% 0.213 321.6);
Tailwind
colors: {
  custom: {
    50: '#cf81da',
    500: '#b645c9',
    950: '#000000',
  },
}
SCSS
$custom: #b645c9;
$custom-light: #cf81da;
$custom-dark: #000000;
JSON
{
  "hex": "#b645c9",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 201
  },
  "hsl": {
    "h": 291.364,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59629,
    "c": 0.21335,
    "h": 321.6
  },
  "luminance": 0.18418
}

Semantic roles & 50–950 ramp

primary
#B645C9
secondary
#A1D198
accent
#DE495F
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B645C9

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

Preview Lab → · Contrast checker → · Palette generator →

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