#B640A3#B640A3

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

Color values

HEX#B640A3
RGBrgb(182, 64, 163)
HSLhsl(310, 48%, 48%)
HSVhsv(310, 65%, 71%)
CMYKcmyk(0%, 64.8%, 10.4%, 28.6%)
CIE-LABlab(47.31, 58.75, -29.55)
CIE-LCHlch(47.31, 65.76, 333.30°)
OKLaboklab(57.05% 0.1707 -0.0805)
OKLCHoklch(57.05% 0.189 334.7)
XYZxyz(27.7359, 16.2585, 36.3206)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B640A3 #40B653
analogous
#8E40B6 #B640A3 #B64068
triadic
#B640A3 #A3B640 #40A3B6
tetradic
#B640A3 #B68E40 #40B653 #4068B6
square
#B640A3 #B68E40 #40B653 #4068B6
split-complementary
#B640A3 #68B640 #40B68E
monochromatic
#5B2052 #89307A #B640A3 #CA69BB #DA96CF

Accessibility & contrast

On white

4.94
#B640A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#B640A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B640A3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B640A3#FFFFFF#000000##FFFFFF
##B640A31.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F65A6
Deuteranopia (green-blind)
#6677A0
Tritanopia (blue-blind)
#BE486C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b640a3;
/* rgb */ color: rgb(182, 64, 163);
/* oklch */ color: oklch(57.0% 0.189 334.7);
Tailwind
colors: {
  custom: {
    50: '#cf7dbe',
    500: '#b640a3',
    950: '#000000',
  },
}
SCSS
$custom: #b640a3;
$custom-light: #cf7dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#b640a3",
  "rgb": {
    "r": 182,
    "g": 64,
    "b": 163
  },
  "hsl": {
    "h": 309.661,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57046,
    "c": 0.18873,
    "h": 334.7
  },
  "luminance": 0.16256
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B640A3

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

Preview Lab → · Contrast checker → · Palette generator →

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