#B64BD7#B64BD7

#B64BD7 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.1% C 0.218 H 317.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B64BD7
RGBrgb(182, 75, 215)
HSLhsl(286, 64%, 57%)
HSVhsv(286, 65%, 84%)
CMYKcmyk(15.3%, 65.1%, 0%, 15.7%)
CIE-LABlab(51.71, 63.34, -52.80)
CIE-LCHlch(51.71, 82.46, 320.19°)
OKLaboklab(61.11% 0.1603 -0.148)
OKLCHoklch(61.11% 0.218 317.3)
XYZxyz(34.0714, 19.8849, 66.3202)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64BD7 #6CD74B
analogous
#704BD7 #B64BD7 #D74BB2
triadic
#B64BD7 #D7B64B #4BD7B6
tetradic
#B64BD7 #D7704B #6CD74B #4BB2D7
square
#B64BD7 #D7704B #6CD74B #4BB2D7
split-complementary
#B64BD7 #B2D74B #4BD770
monochromatic
#701E89 #992ABB #B64BD7 #CA7DE2 #DFAFED

Accessibility & contrast

On white

4.22
#B64BD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B64BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B64BD7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64BD7#FFFFFF#000000##000000
##B64BD71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1275DB
Deuteranopia (green-blind)
#4F7FD4
Tritanopia (blue-blind)
#B5658B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b64bd7;
/* rgb */ color: rgb(182, 75, 215);
/* oklch */ color: oklch(61.1% 0.218 317.3);
Tailwind
colors: {
  custom: {
    50: '#cf85e4',
    500: '#b64bd7',
    950: '#000000',
  },
}
SCSS
$custom: #b64bd7;
$custom-light: #cf85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b64bd7",
  "rgb": {
    "r": 182,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 285.857,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61115,
    "c": 0.21817,
    "h": 317.3
  },
  "luminance": 0.19884
}

Semantic roles & 50–950 ramp

primary
#B64BD7
secondary
#B0DBA2
accent
#E74168
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B64BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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