#B64CD7#B64CD7

#B64CD7 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.2% C 0.217 H 317.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B64CD7
RGBrgb(182, 76, 215)
HSLhsl(286, 63%, 57%)
HSVhsv(286, 65%, 84%)
CMYKcmyk(15.3%, 64.7%, 0%, 15.7%)
CIE-LABlab(51.86, 62.91, -52.55)
CIE-LCHlch(51.86, 81.98, 320.13°)
OKLaboklab(61.23% 0.1592 -0.1473)
OKLCHoklch(61.23% 0.217 317.2)
XYZxyz(34.1398, 20.0216, 66.3430)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64CD7 #6DD74C
analogous
#704CD7 #B64CD7 #D74CB3
triadic
#B64CD7 #D7B64C #4CD7B6
tetradic
#B64CD7 #D7704C #6DD74C #4CB3D7
square
#B64CD7 #D7704C #6DD74C #4CB3D7
split-complementary
#B64CD7 #B3D74C #4CD770
monochromatic
#701F8A #992ABC #B64CD7 #CA7EE2 #DFB0ED

Accessibility & contrast

On white

4.20
#B64CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B64CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B64CD7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64CD7#FFFFFF#000000##000000
##B64CD71.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b64cd7;
/* rgb */ color: rgb(182, 76, 215);
/* oklch */ color: oklch(61.2% 0.217 317.2);
Tailwind
colors: {
  custom: {
    50: '#cf85e4',
    500: '#b64cd7',
    950: '#000000',
  },
}
SCSS
$custom: #b64cd7;
$custom-light: #cf85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b64cd7",
  "rgb": {
    "r": 182,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 285.755,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61227,
    "c": 0.21686,
    "h": 317.2
  },
  "luminance": 0.2002
}

Semantic roles & 50–950 ramp

primary
#B64CD7
secondary
#B1DCA3
accent
#E64169
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B64CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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