#B64CA7#B64CA7

#B64CA7 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.6% C 0.175 H 333.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#B64CA7
RGBrgb(182, 76, 167)
HSLhsl(308, 42%, 51%)
HSVhsv(308, 58%, 71%)
CMYKcmyk(0%, 58.2%, 8.2%, 28.6%)
CIE-LABlab(49.38, 54.21, -28.68)
CIE-LCHlch(49.38, 61.33, 332.12°)
OKLaboklab(58.62% 0.1561 -0.0782)
OKLCHoklch(58.62% 0.175 333.4)
XYZxyz(28.8509, 17.9061, 38.4884)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64CA7 #4CB65B
analogous
#904CB6 #B64CA7 #B64C72
triadic
#B64CA7 #A7B64C #4CA7B6
tetradic
#B64CA7 #B6904C #4CB65B #4C72B6
square
#B64CA7 #B6904C #4CB65B #4C72B6
split-complementary
#B64CA7 #72B64C #4CB690
monochromatic
#602758 #8C3980 #B64CA7 #C877BC #D9A3D2

Accessibility & contrast

On white

4.58
#B64CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B64CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B64CA7
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64CA7#FFFFFF#000000##000000
##B64CA71.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6CAA
Deuteranopia (green-blind)
#6B7BA4
Tritanopia (blue-blind)
#BE5472
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b64ca7;
/* rgb */ color: rgb(182, 76, 167);
/* oklch */ color: oklch(58.6% 0.175 333.4);
Tailwind
colors: {
  custom: {
    50: '#cf84c1',
    500: '#b64ca7',
    950: '#000000',
  },
}
SCSS
$custom: #b64ca7;
$custom-light: #cf84c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b64ca7",
  "rgb": {
    "r": 182,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 308.491,
    "s": 42.063,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5862,
    "c": 0.1746,
    "h": 333.4
  },
  "luminance": 0.17904
}

Semantic roles & 50–950 ramp

primary
#B64CA7
secondary
#97C69E
accent
#D26756
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B64CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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