#B64DB2#B64DB2

#B64DB2 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.3% C 0.182 H 329.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B64DB2
RGBrgb(182, 77, 178)
HSLhsl(302, 42%, 51%)
HSVhsv(302, 58%, 71%)
CMYKcmyk(0%, 57.7%, 2.2%, 28.6%)
CIE-LABlab(50.06, 55.62, -34.07)
CIE-LCHlch(50.06, 65.23, 328.51°)
OKLaboklab(59.28% 0.1563 -0.0936)
OKLCHoklch(59.28% 0.182 329.1)
XYZxyz(29.9808, 18.4691, 44.0966)
Luminance0.1847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64DB2 #4DB651
analogous
#854DB6 #B64DB2 #B64D7D
triadic
#B64DB2 #B2B64D #4DB2B6
tetradic
#B64DB2 #B6854D #4DB651 #4D7DB6
square
#B64DB2 #B6854D #4DB651 #4D7DB6
split-complementary
#B64DB2 #7DB64D #4DB685
monochromatic
#61285F #8C3A89 #B64DB2 #C878C5 #DAA4D8

Accessibility & contrast

On white

4.47
#B64DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#B64DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B64DB2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64DB2#FFFFFF#000000##000000
##B64DB21.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#446EB5
Deuteranopia (green-blind)
#667CAF
Tritanopia (blue-blind)
#BC5878
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b64db2;
/* rgb */ color: rgb(182, 77, 178);
/* oklch */ color: oklch(59.3% 0.182 329.1);
Tailwind
colors: {
  custom: {
    50: '#cf85c9',
    500: '#b64db2',
    950: '#000000',
  },
}
SCSS
$custom: #b64db2;
$custom-light: #cf85c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b64db2",
  "rgb": {
    "r": 182,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 302.286,
    "s": 41.833,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59283,
    "c": 0.18221,
    "h": 329.1
  },
  "luminance": 0.18467
}

Semantic roles & 50–950 ramp

primary
#B64DB2
secondary
#98C79A
accent
#D25B56
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B64DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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