#B640A4#B640A4

#B640A4 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.1% C 0.189 H 334.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B640A4
RGBrgb(182, 64, 164)
HSLhsl(309, 48%, 48%)
HSVhsv(309, 65%, 71%)
CMYKcmyk(0%, 64.8%, 9.9%, 28.6%)
CIE-LABlab(47.36, 58.90, -30.07)
CIE-LCHlch(47.36, 66.14, 332.96°)
OKLaboklab(57.1% 0.1708 -0.082)
OKLCHoklch(57.1% 0.189 334.3)
XYZxyz(27.8258, 16.2944, 36.7944)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B640A4 #40B652
analogous
#8D40B6 #B640A4 #B64069
triadic
#B640A4 #A4B640 #40A4B6
tetradic
#B640A4 #B68D40 #40B652 #4069B6
square
#B640A4 #B68D40 #40B652 #4069B6
split-complementary
#B640A4 #69B640 #40B68D
monochromatic
#5B2052 #89307B #B640A4 #CA69BB #DA96D0

Accessibility & contrast

On white

4.93
#B640A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B640A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B640A4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B640A4#FFFFFF#000000##FFFFFF
##B640A41.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F65A7
Deuteranopia (green-blind)
#6577A1
Tritanopia (blue-blind)
#BE496C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b640a4;
/* rgb */ color: rgb(182, 64, 164);
/* oklch */ color: oklch(57.1% 0.189 334.3);
Tailwind
colors: {
  custom: {
    50: '#cf7dbf',
    500: '#b640a4',
    950: '#000000',
  },
}
SCSS
$custom: #b640a4;
$custom-light: #cf7dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#b640a4",
  "rgb": {
    "r": 182,
    "g": 64,
    "b": 164
  },
  "hsl": {
    "h": 309.153,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57096,
    "c": 0.18949,
    "h": 334.3
  },
  "luminance": 0.16292
}

Semantic roles & 50–950 ramp

primary
#B640A4
secondary
#8CC695
accent
#D86550
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B640A4

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

Preview Lab → · Contrast checker → · Palette generator →

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