#B64EB8#B64EB8

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

Color values

HEX#B64EB8
RGBrgb(182, 78, 184)
HSLhsl(299, 43%, 51%)
HSVhsv(299, 58%, 72%)
CMYKcmyk(1.1%, 57.6%, 0%, 27.8%)
CIE-LABlab(50.52, 56.22, -36.85)
CIE-LCHlch(50.52, 67.22, 326.76°)
OKLaboklab(59.71% 0.1557 -0.1016)
OKLCHoklch(59.71% 0.186 326.9)
XYZxyz(30.6670, 18.8564, 47.3625)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64EB8 #50B84E
analogous
#814EB8 #B64EB8 #B84E85
triadic
#B64EB8 #B8B64E #4EB8B6
tetradic
#B64EB8 #B8814E #50B84E #4E85B8
square
#B64EB8 #B8814E #50B84E #4E85B8
split-complementary
#B64EB8 #85B84E #4EB881
monochromatic
#632864 #8E398F #B64EB8 #C87ACA #DAA5DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B64EB8#FFFFFF#000000##000000
##B64EB81.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)
#4170BB
Deuteranopia (green-blind)
#647DB5
Tritanopia (blue-blind)
#BB5B7C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b64eb8;
/* rgb */ color: rgb(182, 78, 184);
/* oklch */ color: oklch(59.7% 0.186 326.9);
Tailwind
colors: {
  custom: {
    50: '#cf85cd',
    500: '#b64eb8',
    950: '#000000',
  },
}
SCSS
$custom: #b64eb8;
$custom-light: #cf85cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b64eb8",
  "rgb": {
    "r": 182,
    "g": 78,
    "b": 184
  },
  "hsl": {
    "h": 298.868,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59714,
    "c": 0.18592,
    "h": 326.9
  },
  "luminance": 0.18855
}

Semantic roles & 50–950 ramp

primary
#B64EB8
secondary
#9AC89A
accent
#D35558
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #B64EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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