#B640A9#B640A9

#B640A9 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.3% C 0.193 H 332.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B640A9
RGBrgb(182, 64, 169)
HSLhsl(307, 48%, 48%)
HSVhsv(307, 65%, 71%)
CMYKcmyk(0%, 64.8%, 7.1%, 28.6%)
CIE-LABlab(47.60, 59.70, -32.65)
CIE-LCHlch(47.60, 68.05, 331.32°)
OKLaboklab(57.35% 0.1714 -0.0894)
OKLCHoklch(57.35% 0.193 332.4)
XYZxyz(28.2863, 16.4786, 39.2193)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B640A9 #40B64D
analogous
#8840B6 #B640A9 #B6406E
triadic
#B640A9 #A9B640 #40A9B6
tetradic
#B640A9 #B68840 #40B64D #406EB6
square
#B640A9 #B68840 #40B64D #406EB6
split-complementary
#B640A9 #6EB640 #40B688
monochromatic
#5B2055 #89307F #B640A9 #CA69C0 #DA96D3

Accessibility & contrast

On white

4.89
#B640A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B640A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B640A9
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B640A9#FFFFFF#000000##FFFFFF
##B640A91.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B66AC
Deuteranopia (green-blind)
#6377A6
Tritanopia (blue-blind)
#BE4B6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b640a9;
/* rgb */ color: rgb(182, 64, 169);
/* oklch */ color: oklch(57.3% 0.193 332.4);
Tailwind
colors: {
  custom: {
    50: '#cf7dc3',
    500: '#b640a9',
    950: '#000000',
  },
}
SCSS
$custom: #b640a9;
$custom-light: #cf7dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b640a9",
  "rgb": {
    "r": 182,
    "g": 64,
    "b": 169
  },
  "hsl": {
    "h": 306.61,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57346,
    "c": 0.19333,
    "h": 332.4
  },
  "luminance": 0.16476
}

Semantic roles & 50–950 ramp

primary
#B640A9
secondary
#8CC692
accent
#D85F50
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B640A9

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

Preview Lab → · Contrast checker → · Palette generator →

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