#B64EC7#B64EC7

#B64EC7 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.5% C 0.199 H 321.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B64EC7
RGBrgb(182, 78, 199)
HSLhsl(292, 52%, 54%)
HSVhsv(292, 61%, 78%)
CMYKcmyk(8.5%, 60.8%, 0%, 22%)
CIE-LABlab(51.29, 58.97, -44.31)
CIE-LCHlch(51.29, 73.76, 323.08°)
OKLaboklab(60.53% 0.1567 -0.1233)
OKLCHoklch(60.53% 0.199 321.8)
XYZxyz(32.3235, 19.5190, 56.0867)
Luminance0.1952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64EC7 #5FC74E
analogous
#7A4EC7 #B64EC7 #C74E9C
triadic
#B64EC7 #C7B64E #4EC7B6
tetradic
#B64EC7 #C77A4E #5FC74E #4E9CC7
square
#B64EC7 #C77A4E #5FC74E #4E9CC7
split-complementary
#B64EC7 #9CC74E #4EC77A
monochromatic
#6A2575 #9434A4 #B64EC7 #C97CD6 #DCABE4

Accessibility & contrast

On white

4.28
#B64EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B64EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B64EC7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64EC7#FFFFFF#000000##000000
##B64EC71.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3473CB
Deuteranopia (green-blind)
#5C7EC4
Tritanopia (blue-blind)
#B86183
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b64ec7;
/* rgb */ color: rgb(182, 78, 199);
/* oklch */ color: oklch(60.5% 0.199 321.8);
Tailwind
colors: {
  custom: {
    50: '#cf86d8',
    500: '#b64ec7',
    950: '#000000',
  },
}
SCSS
$custom: #b64ec7;
$custom-light: #cf86d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b64ec7",
  "rgb": {
    "r": 182,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 291.57,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60525,
    "c": 0.19938,
    "h": 321.8
  },
  "luminance": 0.19517
}

Semantic roles & 50–950 ramp

primary
#B64EC7
secondary
#A6D29F
accent
#DB4C61
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B64EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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