#B64EB9#B64EB9

#B64EB9 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.8% C 0.187 H 326.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B64EB9
RGBrgb(182, 78, 185)
HSLhsl(298, 43%, 52%)
HSVhsv(298, 58%, 73%)
CMYKcmyk(1.6%, 57.8%, 0%, 27.5%)
CIE-LABlab(50.57, 56.40, -37.35)
CIE-LCHlch(50.57, 67.65, 326.48°)
OKLaboklab(59.77% 0.1558 -0.1031)
OKLCHoklch(59.77% 0.187 326.5)
XYZxyz(30.7722, 18.8985, 47.9165)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64EB9 #51B94E
analogous
#814EB9 #B64EB9 #B94E87
triadic
#B64EB9 #B9B64E #4EB9B6
tetradic
#B64EB9 #B9814E #51B94E #4E87B9
square
#B64EB9 #B9814E #51B94E #4E87B9
split-complementary
#B64EB9 #87B94E #4EB981
monochromatic
#632865 #8E3991 #B64EB9 #C87ACA #DAA6DC

Accessibility & contrast

On white

4.39
#B64EB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B64EB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B64EB9
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64EB9#FFFFFF#000000##000000
##B64EB91.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4070BC
Deuteranopia (green-blind)
#647DB6
Tritanopia (blue-blind)
#BB5C7C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b64eb9;
/* rgb */ color: rgb(182, 78, 185);
/* oklch */ color: oklch(59.8% 0.187 326.5);
Tailwind
colors: {
  custom: {
    50: '#cf85ce',
    500: '#b64eb9',
    950: '#000000',
  },
}
SCSS
$custom: #b64eb9;
$custom-light: #cf85ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b64eb9",
  "rgb": {
    "r": 182,
    "g": 78,
    "b": 185
  },
  "hsl": {
    "h": 298.318,
    "s": 43.32,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59766,
    "c": 0.1868,
    "h": 326.5
  },
  "luminance": 0.18897
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B64EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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