#B640A5#B640A5

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

Color values

HEX#B640A5
RGBrgb(182, 64, 165)
HSLhsl(309, 48%, 48%)
HSVhsv(309, 65%, 71%)
CMYKcmyk(0%, 64.8%, 9.3%, 28.6%)
CIE-LABlab(47.41, 59.06, -30.59)
CIE-LCHlch(47.41, 66.51, 332.62°)
OKLaboklab(57.15% 0.1709 -0.0835)
OKLCHoklch(57.15% 0.19 334)
XYZxyz(27.9165, 16.3307, 37.2718)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B640A5 #40B651
analogous
#8C40B6 #B640A5 #B6406A
triadic
#B640A5 #A5B640 #40A5B6
tetradic
#B640A5 #B68C40 #40B651 #406AB6
square
#B640A5 #B68C40 #40B651 #406AB6
split-complementary
#B640A5 #6AB640 #40B68C
monochromatic
#5B2053 #89307C #B640A5 #CA69BC #DA96D0

Accessibility & contrast

On white

4.92
#B640A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B640A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B640A5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B640A5#FFFFFF#000000##FFFFFF
##B640A51.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E65A8
Deuteranopia (green-blind)
#6577A2
Tritanopia (blue-blind)
#BE496D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b640a5;
/* rgb */ color: rgb(182, 64, 165);
/* oklch */ color: oklch(57.1% 0.190 334.0);
Tailwind
colors: {
  custom: {
    50: '#cf7dc0',
    500: '#b640a5',
    950: '#000000',
  },
}
SCSS
$custom: #b640a5;
$custom-light: #cf7dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#b640a5",
  "rgb": {
    "r": 182,
    "g": 64,
    "b": 165
  },
  "hsl": {
    "h": 308.644,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57145,
    "c": 0.19025,
    "h": 334
  },
  "luminance": 0.16328
}

Semantic roles & 50–950 ramp

primary
#B640A5
secondary
#8CC694
accent
#D86450
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B640A5

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

Preview Lab → · Contrast checker → · Palette generator →

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