#B64FA2#B64FA2

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

Color values

HEX#B64FA2
RGBrgb(182, 79, 162)
HSLhsl(312, 41%, 51%)
HSVhsv(312, 57%, 71%)
CMYKcmyk(0%, 56.6%, 11%, 28.6%)
CIE-LABlab(49.67, 52.01, -25.28)
CIE-LCHlch(49.67, 57.83, 334.07°)
OKLaboklab(58.76% 0.1512 -0.0685)
OKLCHoklch(58.76% 0.166 335.6)
XYZxyz(28.6092, 18.1478, 36.1715)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64FA2 #4FB663
analogous
#964FB6 #B64FA2 #B64F6E
triadic
#B64FA2 #A2B64F #4FA2B6
tetradic
#B64FA2 #B6964F #4FB663 #4F6EB6
square
#B64FA2 #B6964F #4FB663 #4F6EB6
split-complementary
#B64FA2 #6EB64F #4FB696
monochromatic
#622957 #8D3B7D #B64FA2 #C87AB9 #DAA6D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B64FA2#FFFFFF#000000##000000
##B64FA21.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)
#506CA5
Deuteranopia (green-blind)
#6E7C9F
Tritanopia (blue-blind)
#BE5471
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b64fa2;
/* rgb */ color: rgb(182, 79, 162);
/* oklch */ color: oklch(58.8% 0.166 335.6);
Tailwind
colors: {
  custom: {
    50: '#ce85bd',
    500: '#b64fa2',
    950: '#000000',
  },
}
SCSS
$custom: #b64fa2;
$custom-light: #ce85bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b64fa2",
  "rgb": {
    "r": 182,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 311.65,
    "s": 41.365,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58763,
    "c": 0.16601,
    "h": 335.6
  },
  "luminance": 0.18146
}

Semantic roles & 50–950 ramp

primary
#B64FA2
secondary
#9AC7A2
accent
#D16E57
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B64FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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