#B645C5#B645C5

#B645C5 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.4% C 0.210 H 322.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B645C5
RGBrgb(182, 69, 197)
HSLhsl(293, 52%, 52%)
HSVhsv(293, 65%, 77%)
CMYKcmyk(7.6%, 65%, 0%, 22.7%)
CIE-LABlab(49.78, 62.47, -45.55)
CIE-LCHlch(49.78, 77.32, 323.90°)
OKLaboklab(59.4% 0.1672 -0.1268)
OKLCHoklch(59.4% 0.21 322.8)
XYZxyz(31.4966, 18.2343, 54.6731)
Luminance0.1823 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645C5 #54C545
analogous
#7645C5 #B645C5 #C54594
triadic
#B645C5 #C5B645 #45C5B6
tetradic
#B645C5 #C57645 #54C545 #4594C5
square
#B645C5 #C57645 #54C545 #4594C5
split-complementary
#B645C5 #94C545 #45C576
monochromatic
#65226D #90319C #B645C5 #C874D4 #DBA2E2

Accessibility & contrast

On white

4.52
#B645C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B645C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B645C5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645C5#FFFFFF#000000##000000
##B645C51.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#266EC9
Deuteranopia (green-blind)
#577BC2
Tritanopia (blue-blind)
#B95A7F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b645c5;
/* rgb */ color: rgb(182, 69, 197);
/* oklch */ color: oklch(59.4% 0.210 322.8);
Tailwind
colors: {
  custom: {
    50: '#cf81d7',
    500: '#b645c5',
    950: '#000000',
  },
}
SCSS
$custom: #b645c5;
$custom-light: #cf81d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b645c5",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 292.969,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59396,
    "c": 0.20986,
    "h": 322.8
  },
  "luminance": 0.18233
}

Semantic roles & 50–950 ramp

primary
#B645C5
secondary
#9ECF97
accent
#DC4C5D
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B645C5

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

Preview Lab → · Contrast checker → · Palette generator →

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