#B64FB9#B64FB9

#B64FB9 is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.9% C 0.185 H 326.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B64FB9
RGBrgb(182, 79, 185)
HSLhsl(298, 43%, 52%)
HSVhsv(298, 57%, 73%)
CMYKcmyk(1.6%, 57.3%, 0%, 27.5%)
CIE-LABlab(50.74, 55.94, -37.09)
CIE-LCHlch(50.74, 67.12, 326.45°)
OKLaboklab(59.89% 0.1545 -0.1023)
OKLCHoklch(59.89% 0.185 326.5)
XYZxyz(30.8438, 19.0417, 47.9403)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64FB9 #52B94F
analogous
#814FB9 #B64FB9 #B94F87
triadic
#B64FB9 #B9B64F #4FB9B6
tetradic
#B64FB9 #B9814F #52B94F #4F87B9
square
#B64FB9 #B9814F #52B94F #4F87B9
split-complementary
#B64FB9 #87B94F #4FB981
monochromatic
#642865 #8F3A91 #B64FB9 #C87BCA #DAA7DC

Accessibility & contrast

On white

4.37
#B64FB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#B64FB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B64FB9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64FB9#FFFFFF#000000##000000
##B64FB91.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4270BC
Deuteranopia (green-blind)
#647DB6
Tritanopia (blue-blind)
#BB5C7D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b64fb9;
/* rgb */ color: rgb(182, 79, 185);
/* oklch */ color: oklch(59.9% 0.185 326.5);
Tailwind
colors: {
  custom: {
    50: '#cf86ce',
    500: '#b64fb9',
    950: '#000000',
  },
}
SCSS
$custom: #b64fb9;
$custom-light: #cf86ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b64fb9",
  "rgb": {
    "r": 182,
    "g": 79,
    "b": 185
  },
  "hsl": {
    "h": 298.302,
    "s": 43.089,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59888,
    "c": 0.18532,
    "h": 326.5
  },
  "luminance": 0.1904
}

Semantic roles & 50–950 ramp

primary
#B64FB9
secondary
#9CC99B
accent
#D35559
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C13
muted
#837D82

Preview Lab

Preview with #B64FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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