#B64BC2#B64BC2

#B64BC2 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.9% C 0.199 H 323.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B64BC2
RGBrgb(182, 75, 194)
HSLhsl(294, 49%, 53%)
HSVhsv(294, 61%, 76%)
CMYKcmyk(6.2%, 61.3%, 0%, 23.9%)
CIE-LABlab(50.54, 59.37, -42.61)
CIE-LCHlch(50.54, 73.08, 324.33°)
OKLaboklab(59.89% 0.1601 -0.1183)
OKLCHoklch(59.89% 0.199 323.5)
XYZxyz(31.5442, 18.8740, 53.0100)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64BC2 #57C24B
analogous
#7B4BC2 #B64BC2 #C24B92
triadic
#B64BC2 #C2B64B #4BC2B6
tetradic
#B64BC2 #C27B4B #57C24B #4B92C2
square
#B64BC2 #C27B4B #57C24B #4B92C2
split-complementary
#B64BC2 #92C24B #4BC27B
monochromatic
#66256D #91359B #B64BC2 #C979D1 #DBA6E1

Accessibility & contrast

On white

4.40
#B64BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B64BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B64BC2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64BC2#FFFFFF#000000##000000
##B64BC21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3470C6
Deuteranopia (green-blind)
#5D7DBF
Tritanopia (blue-blind)
#B95D80
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b64bc2;
/* rgb */ color: rgb(182, 75, 194);
/* oklch */ color: oklch(59.9% 0.199 323.5);
Tailwind
colors: {
  custom: {
    50: '#cf84d5',
    500: '#b64bc2',
    950: '#000000',
  },
}
SCSS
$custom: #b64bc2;
$custom-light: #cf84d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b64bc2",
  "rgb": {
    "r": 182,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 293.95,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59894,
    "c": 0.19909,
    "h": 323.5
  },
  "luminance": 0.18872
}

Semantic roles & 50–950 ramp

primary
#B64BC2
secondary
#A0CE9B
accent
#D94F5D
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B64BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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