#B64FA7#B64FA7

#B64FA7 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.0% C 0.170 H 333.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B64FA7
RGBrgb(182, 79, 167)
HSLhsl(309, 41%, 51%)
HSVhsv(309, 57%, 71%)
CMYKcmyk(0%, 56.6%, 8.2%, 28.6%)
CIE-LABlab(49.89, 52.83, -27.89)
CIE-LCHlch(49.89, 59.74, 332.17°)
OKLaboklab(59% 0.1521 -0.076)
OKLCHoklch(59% 0.17 333.5)
XYZxyz(29.0625, 18.3291, 38.5589)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64FA7 #4FB65E
analogous
#914FB6 #B64FA7 #B64F73
triadic
#B64FA7 #A7B64F #4FA7B6
tetradic
#B64FA7 #B6914F #4FB65E #4F73B6
square
#B64FA7 #B6914F #4FB65E #4F73B6
split-complementary
#B64FA7 #73B64F #4FB691
monochromatic
#62295A #8D3B81 #B64FA7 #C87ABD #DAA6D2

Accessibility & contrast

On white

4.50
#B64FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#B64FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B64FA7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64FA7#FFFFFF#000000##000000
##B64FA71.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6DAA
Deuteranopia (green-blind)
#6C7CA4
Tritanopia (blue-blind)
#BE5674
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b64fa7;
/* rgb */ color: rgb(182, 79, 167);
/* oklch */ color: oklch(59.0% 0.170 333.5);
Tailwind
colors: {
  custom: {
    50: '#ce86c1',
    500: '#b64fa7',
    950: '#000000',
  },
}
SCSS
$custom: #b64fa7;
$custom-light: #ce86c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b64fa7",
  "rgb": {
    "r": 182,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 308.738,
    "s": 41.365,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58995,
    "c": 0.17,
    "h": 333.5
  },
  "luminance": 0.18327
}

Semantic roles & 50–950 ramp

primary
#B64FA7
secondary
#9AC7A0
accent
#D16857
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B64FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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