#B645C2#B645C2

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

Color values

HEX#B645C2
RGBrgb(182, 69, 194)
HSLhsl(294, 51%, 52%)
HSVhsv(294, 64%, 76%)
CMYKcmyk(6.2%, 64.4%, 0%, 23.9%)
CIE-LABlab(49.61, 61.93, -44.08)
CIE-LCHlch(49.61, 76.01, 324.56°)
OKLaboklab(59.23% 0.1672 -0.1225)
OKLCHoklch(59.23% 0.207 323.8)
XYZxyz(31.1563, 18.0981, 52.8807)
Luminance0.1810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645C2 #51C245
analogous
#7845C2 #B645C2 #C24590
triadic
#B645C2 #C2B645 #45C2B6
tetradic
#B645C2 #C27845 #51C245 #4590C2
square
#B645C2 #C27845 #51C245 #4590C2
split-complementary
#B645C2 #90C245 #45C278
monochromatic
#63236A #8E3298 #B645C2 #C873D1 #DAA1E0

Accessibility & contrast

On white

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

On black

4.62
#B645C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B645C2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645C2#FFFFFF#000000##000000
##B645C21.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A6DC6
Deuteranopia (green-blind)
#597BBF
Tritanopia (blue-blind)
#B9587E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b645c2;
/* rgb */ color: rgb(182, 69, 194);
/* oklch */ color: oklch(59.2% 0.207 323.8);
Tailwind
colors: {
  custom: {
    50: '#cf81d5',
    500: '#b645c2',
    950: '#000000',
  },
}
SCSS
$custom: #b645c2;
$custom-light: #cf81d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b645c2",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 294.24,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59225,
    "c": 0.20725,
    "h": 323.8
  },
  "luminance": 0.18096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B645C2

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

Preview Lab → · Contrast checker → · Palette generator →

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