#B640AE#B640AE

#B640AE is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.6% C 0.197 H 330.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B640AE
RGBrgb(182, 64, 174)
HSLhsl(304, 48%, 48%)
HSVhsv(304, 65%, 71%)
CMYKcmyk(0%, 64.8%, 4.4%, 28.6%)
CIE-LABlab(47.84, 60.52, -35.21)
CIE-LCHlch(47.84, 70.02, 329.80°)
OKLaboklab(57.6% 0.1719 -0.0968)
OKLCHoklch(57.6% 0.197 330.6)
XYZxyz(28.7647, 16.6700, 41.7388)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B640AE #40B648
analogous
#8340B6 #B640AE #B64073
triadic
#B640AE #AEB640 #40AEB6
tetradic
#B640AE #B68340 #40B648 #4073B6
square
#B640AE #B68340 #40B648 #4073B6
split-complementary
#B640AE #73B640 #40B683
monochromatic
#5B2057 #893083 #B640AE #CA69C4 #DA96D6

Accessibility & contrast

On white

4.85
#B640AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B640AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B640AE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B640AE#FFFFFF#000000##FFFFFF
##B640AE1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3767B1
Deuteranopia (green-blind)
#6177AB
Tritanopia (blue-blind)
#BD4D71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b640ae;
/* rgb */ color: rgb(182, 64, 174);
/* oklch */ color: oklch(57.6% 0.197 330.6);
Tailwind
colors: {
  custom: {
    50: '#cf7ec6',
    500: '#b640ae',
    950: '#000000',
  },
}
SCSS
$custom: #b640ae;
$custom-light: #cf7ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#b640ae",
  "rgb": {
    "r": 182,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 304.068,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57604,
    "c": 0.19725,
    "h": 330.6
  },
  "luminance": 0.16668
}

Semantic roles & 50–950 ramp

primary
#B640AE
secondary
#8CC690
accent
#D85950
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B640AE

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

Preview Lab → · Contrast checker → · Palette generator →

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