#B646C5#B646C5

#B646C5 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.5% C 0.209 H 322.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B646C5
RGBrgb(182, 70, 197)
HSLhsl(293, 52%, 52%)
HSVhsv(293, 64%, 77%)
CMYKcmyk(7.6%, 64.5%, 0%, 22.7%)
CIE-LABlab(49.93, 62.06, -45.32)
CIE-LCHlch(49.93, 76.84, 323.86°)
OKLaboklab(59.5% 0.1661 -0.1261)
OKLCHoklch(59.5% 0.209 322.8)
XYZxyz(31.5586, 18.3583, 54.6937)
Luminance0.1836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B646C5 #55C546
analogous
#7646C5 #B646C5 #C54695
triadic
#B646C5 #C5B646 #46C5B6
tetradic
#B646C5 #C57646 #55C546 #4695C5
square
#B646C5 #C57646 #55C546 #4695C5
split-complementary
#B646C5 #95C546 #46C576
monochromatic
#65236E #90319D #B646C5 #C875D4 #DBA3E2

Accessibility & contrast

On white

4.50
#B646C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#B646C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B646C5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B646C5#FFFFFF#000000##000000
##B646C51.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#286EC9
Deuteranopia (green-blind)
#587BC2
Tritanopia (blue-blind)
#B95A80
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b646c5;
/* rgb */ color: rgb(182, 70, 197);
/* oklch */ color: oklch(59.5% 0.209 322.8);
Tailwind
colors: {
  custom: {
    50: '#cf81d7',
    500: '#b646c5',
    950: '#000000',
  },
}
SCSS
$custom: #b646c5;
$custom-light: #cf81d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b646c5",
  "rgb": {
    "r": 182,
    "g": 70,
    "b": 197
  },
  "hsl": {
    "h": 292.913,
    "s": 52.263,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59504,
    "c": 0.20854,
    "h": 322.8
  },
  "luminance": 0.18357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B646C5

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

Preview Lab → · Contrast checker → · Palette generator →

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