#B64EA7#B64EA7

#B64EA7 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.9% C 0.172 H 333.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B64EA7
RGBrgb(182, 78, 167)
HSLhsl(309, 42%, 51%)
HSVhsv(309, 57%, 71%)
CMYKcmyk(0%, 57.1%, 8.2%, 28.6%)
CIE-LABlab(49.72, 53.29, -28.16)
CIE-LCHlch(49.72, 60.27, 332.15°)
OKLaboklab(58.87% 0.1534 -0.0767)
OKLCHoklch(58.87% 0.172 333.4)
XYZxyz(28.9909, 18.1860, 38.5350)
Luminance0.1818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64EA7 #4EB65D
analogous
#914EB6 #B64EA7 #B64E73
triadic
#B64EA7 #A7B64E #4EA7B6
tetradic
#B64EA7 #B6914E #4EB65D #4E73B6
square
#B64EA7 #B6914E #4EB65D #4E73B6
split-complementary
#B64EA7 #73B64E #4EB691
monochromatic
#612859 #8D3A81 #B64EA7 #C879BD #DAA5D2

Accessibility & contrast

On white

4.53
#B64EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#B64EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B64EA7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64EA7#FFFFFF#000000##000000
##B64EA71.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6DAA
Deuteranopia (green-blind)
#6C7CA4
Tritanopia (blue-blind)
#BE5573
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b64ea7;
/* rgb */ color: rgb(182, 78, 167);
/* oklch */ color: oklch(58.9% 0.172 333.4);
Tailwind
colors: {
  custom: {
    50: '#ce85c1',
    500: '#b64ea7',
    950: '#000000',
  },
}
SCSS
$custom: #b64ea7;
$custom-light: #ce85c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b64ea7",
  "rgb": {
    "r": 182,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 308.654,
    "s": 41.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58869,
    "c": 0.17155,
    "h": 333.4
  },
  "luminance": 0.18184
}

Semantic roles & 50–950 ramp

primary
#B64EA7
secondary
#99C7A0
accent
#D16856
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B64EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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