#B64EB7#B64EB7

#B64EB7 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.7% C 0.185 H 327.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B64EB7
RGBrgb(182, 78, 183)
HSLhsl(299, 42%, 51%)
HSVhsv(299, 57%, 72%)
CMYKcmyk(0.5%, 57.4%, 0%, 28.2%)
CIE-LABlab(50.47, 56.04, -36.35)
CIE-LCHlch(50.47, 66.79, 327.03°)
OKLaboklab(59.66% 0.1556 -0.1002)
OKLCHoklch(59.66% 0.185 327.2)
XYZxyz(30.5625, 18.8146, 46.8124)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64EB7 #4FB74E
analogous
#814EB7 #B64EB7 #B74E83
triadic
#B64EB7 #B7B64E #4EB7B6
tetradic
#B64EB7 #B7814E #4FB74E #4E83B7
square
#B64EB7 #B7814E #4FB74E #4E83B7
split-complementary
#B64EB7 #83B74E #4EB781
monochromatic
#622863 #8D3A8E #B64EB7 #C87AC9 #DAA5DA

Accessibility & contrast

On white

4.41
#B64EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B64EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B64EB7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64EB7#FFFFFF#000000##000000
##B64EB71.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#426FBA
Deuteranopia (green-blind)
#657DB4
Tritanopia (blue-blind)
#BB5B7B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b64eb7;
/* rgb */ color: rgb(182, 78, 183);
/* oklch */ color: oklch(59.7% 0.185 327.2);
Tailwind
colors: {
  custom: {
    50: '#cf85cd',
    500: '#b64eb7',
    950: '#000000',
  },
}
SCSS
$custom: #b64eb7;
$custom-light: #cf85cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b64eb7",
  "rgb": {
    "r": 182,
    "g": 78,
    "b": 183
  },
  "hsl": {
    "h": 299.429,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59662,
    "c": 0.18504,
    "h": 327.2
  },
  "luminance": 0.18813
}

Semantic roles & 50–950 ramp

primary
#B64EB7
secondary
#9AC899
accent
#D25657
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #B64EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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