#B64CB2#B64CB2

#B64CB2 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.2% C 0.184 H 329.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B64CB2
RGBrgb(182, 76, 178)
HSLhsl(302, 42%, 51%)
HSVhsv(302, 58%, 71%)
CMYKcmyk(0%, 58.2%, 2.2%, 28.6%)
CIE-LABlab(49.89, 56.07, -34.33)
CIE-LCHlch(49.89, 65.75, 328.52°)
OKLaboklab(59.16% 0.1576 -0.0944)
OKLCHoklch(59.16% 0.184 329.1)
XYZxyz(29.9114, 18.3303, 44.0735)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64CB2 #4CB650
analogous
#854CB6 #B64CB2 #B64C7D
triadic
#B64CB2 #B2B64C #4CB2B6
tetradic
#B64CB2 #B6854C #4CB650 #4C7DB6
square
#B64CB2 #B6854C #4CB650 #4C7DB6
split-complementary
#B64CB2 #7DB64C #4CB685
monochromatic
#60275E #8C3989 #B64CB2 #C877C5 #D9A3D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B64CB2#FFFFFF#000000##000000
##B64CB21.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)
#436EB5
Deuteranopia (green-blind)
#667CAF
Tritanopia (blue-blind)
#BC5778
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b64cb2;
/* rgb */ color: rgb(182, 76, 178);
/* oklch */ color: oklch(59.2% 0.184 329.1);
Tailwind
colors: {
  custom: {
    50: '#cf84c9',
    500: '#b64cb2',
    950: '#000000',
  },
}
SCSS
$custom: #b64cb2;
$custom-light: #cf84c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b64cb2",
  "rgb": {
    "r": 182,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 302.264,
    "s": 42.063,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59162,
    "c": 0.1837,
    "h": 329.1
  },
  "luminance": 0.18328
}

Semantic roles & 50–950 ramp

primary
#B64CB2
secondary
#97C699
accent
#D25B56
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B64CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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