#B64EA6#B64EA6

#B64EA6 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.8% C 0.171 H 333.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B64EA6
RGBrgb(182, 78, 166)
HSLhsl(309, 42%, 51%)
HSVhsv(309, 57%, 71%)
CMYKcmyk(0%, 57.1%, 8.8%, 28.6%)
CIE-LABlab(49.68, 53.13, -27.64)
CIE-LCHlch(49.68, 59.89, 332.52°)
OKLaboklab(58.82% 0.1533 -0.0752)
OKLCHoklch(58.82% 0.171 333.9)
XYZxyz(28.8988, 18.1491, 38.0500)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64EA6 #4EB65E
analogous
#924EB6 #B64EA6 #B64E72
triadic
#B64EA6 #A6B64E #4EA6B6
tetradic
#B64EA6 #B6924E #4EB65E #4E72B6
square
#B64EA6 #B6924E #4EB65E #4E72B6
split-complementary
#B64EA6 #72B64E #4EB692
monochromatic
#612859 #8D3A80 #B64EA6 #C879BC #DAA5D2

Accessibility & contrast

On white

4.54
#B64EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#B64EA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B64EA6
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64EA6#FFFFFF#000000##000000
##B64EA61.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6CA9
Deuteranopia (green-blind)
#6C7CA3
Tritanopia (blue-blind)
#BE5573
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b64ea6;
/* rgb */ color: rgb(182, 78, 166);
/* oklch */ color: oklch(58.8% 0.171 333.9);
Tailwind
colors: {
  custom: {
    50: '#ce85c0',
    500: '#b64ea6',
    950: '#000000',
  },
}
SCSS
$custom: #b64ea6;
$custom-light: #ce85c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b64ea6",
  "rgb": {
    "r": 182,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 309.231,
    "s": 41.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58821,
    "c": 0.17074,
    "h": 333.9
  },
  "luminance": 0.18147
}

Semantic roles & 50–950 ramp

primary
#B64EA6
secondary
#99C7A0
accent
#D16956
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B64EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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