#B640AC#B640AC

#B640AC is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.5% C 0.196 H 331.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B640AC
RGBrgb(182, 64, 172)
HSLhsl(305, 48%, 48%)
HSVhsv(305, 65%, 71%)
CMYKcmyk(0%, 64.8%, 5.5%, 28.6%)
CIE-LABlab(47.74, 60.19, -34.19)
CIE-LCHlch(47.74, 69.22, 330.40°)
OKLaboklab(57.5% 0.1717 -0.0939)
OKLCHoklch(57.5% 0.196 331.3)
XYZxyz(28.5711, 16.5926, 40.7196)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B640AC #40B64A
analogous
#8540B6 #B640AC #B64071
triadic
#B640AC #ACB640 #40ACB6
tetradic
#B640AC #B68540 #40B64A #4071B6
square
#B640AC #B68540 #40B64A #4071B6
split-complementary
#B640AC #71B640 #40B685
monochromatic
#5B2056 #893081 #B640AC #CA69C2 #DA96D4

Accessibility & contrast

On white

4.86
#B640AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#B640AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B640AC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B640AC#FFFFFF#000000##FFFFFF
##B640AC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3967AF
Deuteranopia (green-blind)
#6277A9
Tritanopia (blue-blind)
#BD4C70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b640ac;
/* rgb */ color: rgb(182, 64, 172);
/* oklch */ color: oklch(57.5% 0.196 331.3);
Tailwind
colors: {
  custom: {
    50: '#cf7dc5',
    500: '#b640ac',
    950: '#000000',
  },
}
SCSS
$custom: #b640ac;
$custom-light: #cf7dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#b640ac",
  "rgb": {
    "r": 182,
    "g": 64,
    "b": 172
  },
  "hsl": {
    "h": 305.085,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.575,
    "c": 0.19567,
    "h": 331.3
  },
  "luminance": 0.1659
}

Semantic roles & 50–950 ramp

primary
#B640AC
secondary
#8CC691
accent
#D85C50
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B640AC

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

Preview Lab → · Contrast checker → · Palette generator →

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